aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKai Germaschewski <kai@vaio.(none)>2003-03-15 11:50:13 -0600
committerKai Germaschewski <kai@vaio.(none)>2003-03-15 11:50:13 -0600
commit0a1551687a3bdb9800758165ea7889e568ac28e6 (patch)
tree9ff6130edc71c08b0b2a8b3821e41cc7add00ed4 /Makefile
parent6ca3fa989a3f9ac3092560d7523efad6f57d8968 (diff)
downloadhistory-0a1551687a3bdb9800758165ea7889e568ac28e6.tar.gz
kbuild: Fix output when linking vmlinux
make's line continuation without explicit backslashes is a mystery to me, and in this case, vmlinux got linked, but the linker command was not written to the screen. Works again now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c1286afaac10a..cd6aa7a0bab62 100644
--- a/Makefile
+++ b/Makefile
@@ -327,15 +327,16 @@ endef
# set -e makes the rule exit immediately on error
define rule_vmlinux__
- set -e \
+ set -e; \
$(if $(filter .tmp_kallsyms%,$^),, \
echo ' GEN .version'; \
. $(srctree)/scripts/mkversion > .tmp_version; \
mv -f .tmp_version .version; \
$(MAKE) $(build)=init; \
- )
- set -e \
- $(call cmd,vmlinux__); \
+ ) \
+ $(if $($(quiet)cmd_vmlinux__), \
+ echo ' $($(quiet)cmd_vmlinux__)' &&) \
+ $(cmd_vmlinux__); \
echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
endef