]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | Add new headers_check_all target for checking all arches in one go. |
2 | ||
3 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |
4 | ||
5 | --- a/Makefile | |
6 | +++ b/Makefile | |
7 | @@ -936,6 +936,12 @@ headers_install: include/linux/version.h scripts_basic FORCE | |
8 | $(Q)$(MAKE) $(build)=scripts scripts/unifdef | |
9 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include | |
10 | ||
11 | +PHONY += headers_check_all | |
12 | +headers_check_all: headers_install_all | |
13 | + $(Q)for arch in $(HDRARCHES); do \ | |
14 | + $(MAKE) ARCH=$$arch -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch HDRCHECK=1 ;\ | |
15 | + done | |
16 | + | |
17 | PHONY += headers_check | |
18 | headers_check: headers_install | |
19 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1 |