summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada2019-06-04 12:14:04 +0200
committerMasahiro Yamada2019-06-15 12:57:02 +0200
commita5bae54c106db8734d5ca81e2eb8e0351dd11737 (patch)
tree5c118a31a5766dda4f3d08f5da60e327e950056e /Makefile
parentkbuild: re-implement Makefile.headersinst without recursion (diff)
downloadkernel-qcow2-linux-a5bae54c106db8734d5ca81e2eb8e0351dd11737.tar.gz
kernel-qcow2-linux-a5bae54c106db8734d5ca81e2eb8e0351dd11737.tar.xz
kernel-qcow2-linux-a5bae54c106db8734d5ca81e2eb8e0351dd11737.zip
kbuild: move hdr-inst shorthand to top Makefile
Now that hdr-inst is used only in the top Makefile, move it there from scripts/Kbuild.include. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 507ce2c92065..e124a3e73bfe 100644
--- a/Makefile
+++ b/Makefile
@@ -1190,6 +1190,8 @@ headers_install: headers
PHONY += archheaders archscripts
+hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
+
PHONY += headers
headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts
$(if $(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/Kbuild),, \