aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 13448d755bb1..b78c88d1f1ac 100644
--- a/Makefile
+++ b/Makefile
@@ -892,6 +892,15 @@ depend dep:
892INSTALL_HDR_PATH=$(objtree)/usr 892INSTALL_HDR_PATH=$(objtree)/usr
893export INSTALL_HDR_PATH 893export INSTALL_HDR_PATH
894 894
895HDRARCHES=$(filter-out generic,$(patsubst $(srctree)/include/asm-%/Kbuild,%,$(wildcard $(srctree)/include/asm-*/Kbuild)))
896
897PHONY += headers_install_all
898headers_install_all: include/linux/version.h
899 $(Q)unifdef -Ux /dev/null
900 $(Q)for arch in $(HDRARCHES); do \
901 $(MAKE) ARCH=$$arch -rR -f $(srctree)/scripts/Makefile.headersinst obj=include BIASMDIR=-bi-$$arch ;\
902 done
903
895PHONY += headers_install 904PHONY += headers_install
896headers_install: include/linux/version.h 905headers_install: include/linux/version.h
897 @if [ ! -r include/asm-$(ARCH)/Kbuild ]; then \ 906 @if [ ! -r include/asm-$(ARCH)/Kbuild ]; then \