summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.headersinst
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-04 12:14:05 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-15 12:57:02 +0200
commit555187a8791d492bed4dc57aae93b47162f6398d (patch)
tree871d76ed5c10c8e6775e7cd833f1ef69dbe0ac16 /scripts/Makefile.headersinst
parentkbuild: move hdr-inst shorthand to top Makefile (diff)
downloadlinux-555187a8791d492bed4dc57aae93b47162f6398d.tar.xz
linux-555187a8791d492bed4dc57aae93b47162f6398d.zip
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)))
ifndef HDRCHECK
quiet_cmd_install = HDRINST $@
- cmd_install = $(CONFIG_SHELL) $(srctree)/scripts/headers_install.sh $(@D) $(<D) $(@F)
+ cmd_install = $(CONFIG_SHELL) $(srctree)/scripts/headers_install.sh $< $@
$(src-headers): $(dst)/%.h: $(src)/%.h $(srctree)/scripts/headers_install.sh FORCE
$(call if_changed,install)