diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -442,7 +442,7 @@ asm-generic: | |||
442 | 442 | ||
443 | no-dot-config-targets := clean mrproper distclean \ | 443 | no-dot-config-targets := clean mrproper distclean \ |
444 | cscope gtags TAGS tags help %docs check% coccicheck \ | 444 | cscope gtags TAGS tags help %docs check% coccicheck \ |
445 | include/linux/version.h headers_% \ | 445 | include/linux/version.h headers_% archheaders \ |
446 | kernelversion %src-pkg | 446 | kernelversion %src-pkg |
447 | 447 | ||
448 | config-targets := 0 | 448 | config-targets := 0 |
@@ -979,7 +979,7 @@ prepare1: prepare2 include/linux/version.h include/generated/utsrelease.h \ | |||
979 | include/config/auto.conf | 979 | include/config/auto.conf |
980 | $(cmd_crmodverdir) | 980 | $(cmd_crmodverdir) |
981 | 981 | ||
982 | archprepare: prepare1 scripts_basic | 982 | archprepare: archheaders prepare1 scripts_basic |
983 | 983 | ||
984 | prepare0: archprepare FORCE | 984 | prepare0: archprepare FORCE |
985 | $(Q)$(MAKE) $(build)=. | 985 | $(Q)$(MAKE) $(build)=. |
@@ -1046,8 +1046,11 @@ hdr-inst := -rR -f $(srctree)/scripts/Makefile.headersinst obj | |||
1046 | # If we do an all arch process set dst to asm-$(hdr-arch) | 1046 | # If we do an all arch process set dst to asm-$(hdr-arch) |
1047 | hdr-dst = $(if $(KBUILD_HEADERS), dst=include/asm-$(hdr-arch), dst=include/asm) | 1047 | hdr-dst = $(if $(KBUILD_HEADERS), dst=include/asm-$(hdr-arch), dst=include/asm) |
1048 | 1048 | ||
1049 | PHONY += archheaders | ||
1050 | archheaders: | ||
1051 | |||
1049 | PHONY += __headers | 1052 | PHONY += __headers |
1050 | __headers: include/linux/version.h scripts_basic asm-generic FORCE | 1053 | __headers: include/linux/version.h scripts_basic asm-generic archheaders FORCE |
1051 | $(Q)$(MAKE) $(build)=scripts build_unifdef | 1054 | $(Q)$(MAKE) $(build)=scripts build_unifdef |
1052 | 1055 | ||
1053 | PHONY += headers_install_all | 1056 | PHONY += headers_install_all |