summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-30 04:05:28 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-01 17:13:14 +0300
commite5d289100d3aef3e83dc1b8303999e26d86acb7b (patch)
treeb4c7f628c06ab4a08523faf12563afa094dbd52f /scripts/Kbuild.include
parent3a2429e1faf40b2aaa481aa4b001a74d222c7e8b (diff)
downloadlinux-e5d289100d3aef3e83dc1b8303999e26d86acb7b.tar.xz
kbuild: remove trailing semicolon from cmd_* passed to if_changed_rule
With the change of rule_cc_o_c / rule_as_o_S in the last commit, each command is executed in a separate subshell. Rip off unneeded semicolons. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r--scripts/Kbuild.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 6bbbe7533d6f..ba297fdd7c52 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -261,7 +261,7 @@ if_changed_dep = $(if $(strip $(any-prereq) $(arg-check)),$(cmd_and_fixdep),@:)
cmd_and_fixdep = \
$(cmd); \
scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
- rm -f $(depfile);
+ rm -f $(depfile)
# Usage: $(call if_changed_rule,foo)
# Will check if $(cmd_foo) or any of the prerequisites changed,