diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -825,9 +825,6 @@ include/config/kernel.release: include/config/auto.conf FORCE | |||
825 | # Listed in dependency order | 825 | # Listed in dependency order |
826 | PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 | 826 | PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3 |
827 | 827 | ||
828 | # prepare-all is deprecated, use prepare as valid replacement | ||
829 | PHONY += 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.. |
863 | prepare prepare-all: prepare0 | 860 | prepare: 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 | ||
931 | PHONY += headers_check_all | ||
932 | headers_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 | |||
934 | PHONY += headers_check | 937 | PHONY += headers_check |
935 | headers_check: headers_install | 938 | headers_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 |