summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.headersinst
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-04 06:14:05 -0400
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-15 06:57:02 -0400
commit555187a8791d492bed4dc57aae93b47162f6398d (patch)
tree871d76ed5c10c8e6775e7cd833f1ef69dbe0ac16 /scripts/Makefile.headersinst
parenta5bae54c106db8734d5ca81e2eb8e0351dd11737 (diff)
kbuild: simplify scripts/headers_install.sh
Now that headers_install.sh is invoked per file, remove the for-loop in the shell script. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.headersinst')
-rw-r--r--scripts/Makefile.headersinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index c96c4c26e240..d2b572a7a628 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -58,7 +58,7 @@ $(if $(new-dirs), $(shell mkdir -p $(new-dirs)))
58ifndef HDRCHECK 58ifndef HDRCHECK
59 59
60quiet_cmd_install = HDRINST $@ 60quiet_cmd_install = HDRINST $@
61 cmd_install = $(CONFIG_SHELL) $(srctree)/scripts/headers_install.sh $(@D) $(<D) $(@F) 61 cmd_install = $(CONFIG_SHELL) $(srctree)/scripts/headers_install.sh $< $@
62 62
63$(src-headers): $(dst)/%.h: $(src)/%.h $(srctree)/scripts/headers_install.sh FORCE 63$(src-headers): $(dst)/%.h: $(src)/%.h $(srctree)/scripts/headers_install.sh FORCE
64 $(call if_changed,install) 64 $(call if_changed,install)