aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7e4968fb2134..b6c8790925bf 100644
--- a/Makefile
+++ b/Makefile
@@ -825,9 +825,6 @@ include/config/kernel.release: include/config/auto.conf FORCE
825# Listed in dependency order 825# Listed in dependency order
826PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 826PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
827 827
828# prepare-all is deprecated, use prepare as valid replacement
829PHONY += prepare-all
830
831# prepare3 is used to check if we are building in a separate output directory, 828# prepare3 is used to check if we are building in a separate output directory,
832# and if so do: 829# and if so do:
833# 1) Check that make has not been executed in the kernel src $(srctree) 830# 1) Check that make has not been executed in the kernel src $(srctree)
@@ -860,7 +857,7 @@ prepare0: archprepare FORCE
860 $(Q)$(MAKE) $(build)=. 857 $(Q)$(MAKE) $(build)=.
861 858
862# All the preparing.. 859# All the preparing..
863prepare prepare-all: prepare0 860prepare: prepare0
864 861
865# Leave this as default for preprocessing vmlinux.lds.S, which is now 862# Leave this as default for preprocessing vmlinux.lds.S, which is now
866# done in arch/$(ARCH)/kernel/Makefile 863# done in arch/$(ARCH)/kernel/Makefile
@@ -931,6 +928,12 @@ headers_install: include/linux/version.h scripts_basic FORCE
931 $(Q)$(MAKE) $(build)=scripts scripts/unifdef 928 $(Q)$(MAKE) $(build)=scripts scripts/unifdef
932 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include 929 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include
933 930
931PHONY += headers_check_all
932headers_check_all: headers_install_all
933 $(Q)for arch in $(HDRARCHES); do \
934 $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch HDRCHECK=1 ;\
935 done
936
934PHONY += headers_check 937PHONY += headers_check
935headers_check: headers_install 938headers_check: headers_install
936 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1 939 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1