aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-27 11:39:37 +0200
committerSam Ravnborg <sam@mars.(none)>2005-07-27 11:39:37 +0200
commit72ba47c1b293ae78f7d798b458bb9d3db65c7551 (patch)
tree1e4a945d2a8f6f206eb0fb1ffcbecea730ae6663
parent23a45e2c0a16bfd80eba853b44717d21c37bcf30 (diff)
downloadkernel_samsung_crespo-72ba47c1b293ae78f7d798b458bb9d3db65c7551.zip
kernel_samsung_crespo-72ba47c1b293ae78f7d798b458bb9d3db65c7551.tar.gz
kernel_samsung_crespo-72ba47c1b293ae78f7d798b458bb9d3db65c7551.tar.bz2
kbuild: silence mystery message
During last phase of the build the following message were displayed: /bin/sh: +@: command not found This message appears due to slightly changed semantics of cmd and if_changed_rule. The easy fix was to insert a dummy command first in rule_ksym_ld. The alternative was to redo part of this processing in the top-level Makefile - a volatile area that I try to avoid. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> ---
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2467aa0..06995fe 100644
--- a/Makefile
+++ b/Makefile
@@ -688,8 +688,10 @@ endef
# Update vmlinux version before link
# Use + in front of this rule to silent warning about make -j1
+# First command is ':' to allow us to use + in front of this rule
cmd_ksym_ld = $(cmd_vmlinux__)
define rule_ksym_ld
+ :
+$(call cmd,vmlinux_version)
$(call cmd,vmlinux__)
$(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd