diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | scripts/Makefile | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -1022,7 +1022,7 @@ hdr-dst = $(if $(KBUILD_HEADERS), dst=include/asm-$(hdr-arch), dst=include/asm) | |||
1022 | 1022 | ||
1023 | PHONY += __headers | 1023 | PHONY += __headers |
1024 | __headers: include/linux/version.h scripts_basic FORCE | 1024 | __headers: include/linux/version.h scripts_basic FORCE |
1025 | $(Q)$(MAKE) $(build)=scripts scripts/unifdef | 1025 | $(Q)$(MAKE) $(build)=scripts build_unifdef |
1026 | 1026 | ||
1027 | PHONY += headers_install_all | 1027 | PHONY += headers_install_all |
1028 | headers_install_all: | 1028 | headers_install_all: |
diff --git a/scripts/Makefile b/scripts/Makefile index 2e088109fbd5..fcea26168bca 100644 --- a/scripts/Makefile +++ b/scripts/Makefile | |||
@@ -18,6 +18,11 @@ always := $(hostprogs-y) $(hostprogs-m) | |||
18 | # The following hostprogs-y programs are only build on demand | 18 | # The following hostprogs-y programs are only build on demand |
19 | hostprogs-y += unifdef | 19 | hostprogs-y += unifdef |
20 | 20 | ||
21 | # This target is used internally to avoid "is up to date" messages | ||
22 | PHONY += build_unifdef | ||
23 | build_unifdef: scripts/unifdef FORCE | ||
24 | @: | ||
25 | |||
21 | subdir-$(CONFIG_MODVERSIONS) += genksyms | 26 | subdir-$(CONFIG_MODVERSIONS) += genksyms |
22 | subdir-y += mod | 27 | subdir-y += mod |
23 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux | 28 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |