Commit 0a155168 authored by Kai Germaschewski's avatar Kai Germaschewski

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.
parent 6ca3fa98
...@@ -327,15 +327,16 @@ endef ...@@ -327,15 +327,16 @@ endef
# set -e makes the rule exit immediately on error # set -e makes the rule exit immediately on error
define rule_vmlinux__ define rule_vmlinux__
set -e \ set -e; \
$(if $(filter .tmp_kallsyms%,$^),, \ $(if $(filter .tmp_kallsyms%,$^),, \
echo ' GEN .version'; \ echo ' GEN .version'; \
. $(srctree)/scripts/mkversion > .tmp_version; \ . $(srctree)/scripts/mkversion > .tmp_version; \
mv -f .tmp_version .version; \ mv -f .tmp_version .version; \
$(MAKE) $(build)=init; \ $(MAKE) $(build)=init; \
) ) \
set -e \ $(if $($(quiet)cmd_vmlinux__), \
$(call cmd,vmlinux__); \ echo ' $($(quiet)cmd_vmlinux__)' &&) \
$(cmd_vmlinux__); \
echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
endef endef
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment