diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-04 19:14:05 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-15 19:57:02 +0900 |
commit | 555187a8791d492bed4dc57aae93b47162f6398d (patch) | |
tree | 871d76ed5c10c8e6775e7cd833f1ef69dbe0ac16 /scripts/Makefile.headersinst | |
parent | a5bae54c106db8734d5ca81e2eb8e0351dd11737 (diff) | |
download | linux-555187a8791d492bed4dc57aae93b47162f6398d.tar.gz linux-555187a8791d492bed4dc57aae93b47162f6398d.tar.bz2 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.headersinst | 2 |
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) |