提交 4635281c 编写于 作者: S Sam Ravnborg 提交者: Sam Ravnborg

kbuild: preperly align SYSMAP output

Align filenames for SYSMAP with other filenames
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 b805aa0e
...@@ -639,12 +639,12 @@ define rule_vmlinux__ ...@@ -639,12 +639,12 @@ define rule_vmlinux__
$(call cmd,vmlinux__) $(call cmd,vmlinux__)
$(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
$(Q)$(if $($(quiet)cmd_sysmap), \ $(Q)$(if $($(quiet)cmd_sysmap), \
echo ' $($(quiet)cmd_sysmap) System.map' &&) \ echo ' $($(quiet)cmd_sysmap) System.map' &&) \
$(cmd_sysmap) $@ System.map; \ $(cmd_sysmap) $@ System.map; \
if [ $$? -ne 0 ]; then \ if [ $$? -ne 0 ]; then \
rm -f $@; \ rm -f $@; \
/bin/false; \ /bin/false; \
fi; fi;
$(verify_kallsyms) $(verify_kallsyms)
endef endef
...@@ -677,12 +677,12 @@ endif ...@@ -677,12 +677,12 @@ endif
kallsyms.o := .tmp_kallsyms$(last_kallsyms).o kallsyms.o := .tmp_kallsyms$(last_kallsyms).o
define verify_kallsyms define verify_kallsyms
$(Q)$(if $($(quiet)cmd_sysmap), \ $(Q)$(if $($(quiet)cmd_sysmap), \
echo ' $($(quiet)cmd_sysmap) .tmp_System.map' &&) \ echo ' $($(quiet)cmd_sysmap) .tmp_System.map' &&) \
$(cmd_sysmap) .tmp_vmlinux$(last_kallsyms) .tmp_System.map $(cmd_sysmap) .tmp_vmlinux$(last_kallsyms) .tmp_System.map
$(Q)cmp -s System.map .tmp_System.map || \ $(Q)cmp -s System.map .tmp_System.map || \
(echo Inconsistent kallsyms data; \ (echo Inconsistent kallsyms data; \
echo Try setting CONFIG_KALLSYMS_EXTRA_PASS; \ echo Try setting CONFIG_KALLSYMS_EXTRA_PASS; \
rm .tmp_kallsyms* ; /bin/false ) rm .tmp_kallsyms* ; /bin/false )
endef endef
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册