[patch] new toplevel target: headers_check_all

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



useful for distros (and people with too much time on their hands) that support 
a ton of architectures, headers_check_all is to headers_check as 
headers_install_all is to headers_install
-mike

Attachment: pgpo7I2HHzHYZ.pgp
Description: PGP signature

Add new headers_check_all target for checking all arches in one go.

Signed-off-by: Mike Frysinger <[email protected]>

--- a/Makefile
+++ b/Makefile
@@ -936,6 +936,12 @@ headers_install: include/linux/version.h scripts_basic FORCE
 	$(Q)$(MAKE) $(build)=scripts scripts/unifdef
 	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include
 
+PHONY += headers_check_all
+headers_check_all: headers_install_all
+	$(Q)for arch in $(HDRARCHES); do \
+	 $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch HDRCHECK=1 ;\
+	 done
+
 PHONY += headers_check
 headers_check: headers_install
 	$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux