aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-27 05:39:37 -0400
committerSam Ravnborg <sam@mars.(none)>2005-07-27 05:39:37 -0400
commit72ba47c1b293ae78f7d798b458bb9d3db65c7551 (patch)
tree1e4a945d2a8f6f206eb0fb1ffcbecea730ae6663
parent23a45e2c0a16bfd80eba853b44717d21c37bcf30 (diff)
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 2467aa0f6689..06995fe7f57c 100644
--- a/Makefile
+++ b/Makefile
@@ -688,8 +688,10 @@ endef
688 688
689# Update vmlinux version before link 689# Update vmlinux version before link
690# Use + in front of this rule to silent warning about make -j1 690# Use + in front of this rule to silent warning about make -j1
691# First command is ':' to allow us to use + in front of this rule
691cmd_ksym_ld = $(cmd_vmlinux__) 692cmd_ksym_ld = $(cmd_vmlinux__)
692define rule_ksym_ld 693define rule_ksym_ld
694 :
693 +$(call cmd,vmlinux_version) 695 +$(call cmd,vmlinux_version)
694 $(call cmd,vmlinux__) 696 $(call cmd,vmlinux__)
695 $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd 697 $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd