File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -893,8 +893,8 @@ INSTALL_HDR_PATH=$(objtree)/usr
893893export INSTALL_HDR_PATH
894894
895895PHONY += headers_install
896- headers_install : include/linux/version.h
897- $(Q ) unifdef -Ux /dev/null
896+ headers_install : include/linux/version.h scripts_basic FORCE
897+ $(Q )$( MAKE ) $( build ) =scripts scripts/unifdef
898898 $(Q ) rm -rf $(INSTALL_HDR_PATH ) /include
899899 $(Q )$(MAKE ) -rR -f $(srctree ) /scripts/Makefile.headersinst obj=include
900900
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ hostprogs-$(CONFIG_IKCONFIG) += bin2c
1515
1616always := $(hostprogs-y )
1717
18+ # The following hostprogs-y programs are only build on demand
19+ hostprogs-y += unifdef
20+
1821subdir-$(CONFIG_MODVERSIONS) += genksyms
1922subdir-$(CONFIG_MODULES) += mod
2023
Original file line number Diff line number Diff line change 77#
88# ==========================================================================
99
10- UNIFDEF := unifdef -U__KERNEL__
10+ UNIFDEF := scripts/ unifdef -U__KERNEL__
1111
1212# Eliminate the contents of (and inclusions of) compiler.h
1313HDRSED := sed -e "s/ inline / __inline__ /g" \
You can’t perform that action at this time.
0 commit comments