diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-07-27 05:39:37 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-27 05:39:37 -0400 |
commit | 72ba47c1b293ae78f7d798b458bb9d3db65c7551 (patch) | |
tree | 1e4a945d2a8f6f206eb0fb1ffcbecea730ae6663 | |
parent | 23a45e2c0a16bfd80eba853b44717d21c37bcf30 (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-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 | ||
691 | cmd_ksym_ld = $(cmd_vmlinux__) | 692 | cmd_ksym_ld = $(cmd_vmlinux__) |
692 | define rule_ksym_ld | 693 | define 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 |