diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-04 12:14:04 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-15 12:57:02 +0200 |
commit | a5bae54c106db8734d5ca81e2eb8e0351dd11737 (patch) | |
tree | 5c118a31a5766dda4f3d08f5da60e327e950056e | |
parent | kbuild: re-implement Makefile.headersinst without recursion (diff) | |
download | linux-a5bae54c106db8734d5ca81e2eb8e0351dd11737.tar.xz 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>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | scripts/Kbuild.include | 6 |
2 files changed, 2 insertions, 6 deletions
@@ -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),, \ diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index f641bb0aa63f..0ae07e83d393 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -187,12 +187,6 @@ dtbinst := -f $(srctree)/scripts/Makefile.dtbinst obj # $(Q)$(MAKE) $(clean)=dir clean := -f $(srctree)/scripts/Makefile.clean obj -### -# Shorthand for $(Q)$(MAKE) -f scripts/Makefile.headersinst obj= -# Usage: -# $(Q)$(MAKE) $(hdr-inst)=dir -hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj - # echo command. # Short version is used, if $(quiet) equals `quiet_', otherwise full one. echo-cmd = $(if $($(quiet)cmd_$(1)),\ |