aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-09-20 21:14:44 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2003-09-20 21:14:44 +0200
commitefacc21675da4a95b7f62ad54dacf4802926c371 (patch)
tree4fe1d0e3a348a0b909f0448a7e985db67fc82b1a /scripts
parent3adeaab0720fb43a1f3bc169732b15a1a581e4ad (diff)
downloadhistory-efacc21675da4a95b7f62ad54dacf4802926c371.tar.gz
kbuild: Escape "'" in cmd macro
Building drivers/eisa were broken in non-verbose mode. This has been fixed by escaping "'" for cmd. It was used in $(call cmd,eisaid). Escaping "'" is already done by if_changed, so this brings cmd in line with if_changed
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 398114524818c2..7ba997cce3dfda 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -225,7 +225,7 @@ if_changed_rule = $(if $(strip $? \
# If quiet is set, only print short version of command
-cmd = @$(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))' &&) $(cmd_$(1))
+cmd = @$(if $($(quiet)cmd_$(1)),echo ' $(subst ','\'',$($(quiet)cmd_$(1)))' &&) $(cmd_$(1))
# $(call descend,<dir>,<target>)
# Recursively call a sub-make in <dir> with target <target>