LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [patch] new toplevel target: headers_check_all
@ 2007-01-30  0:36 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2007-01-30  0:36 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 198 bytes --]

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 #1.2: Type: application/pgp-signature, Size: 827 bytes --]

[-- Attachment #2: linux-headers-check-all.patch --]
[-- Type: text/x-diff, Size: 713 bytes --]

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

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

--- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-30  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-30  0:36 [patch] new toplevel target: headers_check_all Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).