Commit 1f85712e6e1f2450ec4fd2ab18f8887bf7280f8e
Committed by
Linus Torvalds
1 parent
d395efb544
Exists in
master
and in
20 other branches
[PATCH] new toplevel target: headers_check_all
Add new headers_check_all target for checking all arches in one go. 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 Signed-off-by: Mike Frysinger <vapier@gentoo.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 6 additions and 0 deletions Side-by-side Diff
Makefile
... | ... | @@ -928,6 +928,12 @@ |
928 | 928 | $(Q)$(MAKE) $(build)=scripts scripts/unifdef |
929 | 929 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include |
930 | 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 | + | |
931 | 937 | PHONY += headers_check |
932 | 938 | headers_check: headers_install |
933 | 939 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1 |