diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-08-08 15:41:18 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.ravnborg.org> | 2006-09-25 03:01:49 -0400 |
commit | 4635281c8ea26e9f718c28f8f7713d10ad332eff (patch) | |
tree | e53b7ff0944f6eaef25a98a6ff5e5f276e4d3ecf | |
parent | b805aa0e79c78bd05ad1f5c52ec126a19531edb0 (diff) |
kbuild: preperly align SYSMAP output
Align filenames for SYSMAP with other filenames
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -639,12 +639,12 @@ define rule_vmlinux__ | |||
639 | $(call cmd,vmlinux__) | 639 | $(call cmd,vmlinux__) |
640 | $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd | 640 | $(Q)echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd |
641 | 641 | ||
642 | $(Q)$(if $($(quiet)cmd_sysmap), \ | 642 | $(Q)$(if $($(quiet)cmd_sysmap), \ |
643 | echo ' $($(quiet)cmd_sysmap) System.map' &&) \ | 643 | echo ' $($(quiet)cmd_sysmap) System.map' &&) \ |
644 | $(cmd_sysmap) $@ System.map; \ | 644 | $(cmd_sysmap) $@ System.map; \ |
645 | if [ $$? -ne 0 ]; then \ | 645 | if [ $$? -ne 0 ]; then \ |
646 | rm -f $@; \ | 646 | rm -f $@; \ |
647 | /bin/false; \ | 647 | /bin/false; \ |
648 | fi; | 648 | fi; |
649 | $(verify_kallsyms) | 649 | $(verify_kallsyms) |
650 | endef | 650 | endef |
@@ -677,12 +677,12 @@ endif | |||
677 | kallsyms.o := .tmp_kallsyms$(last_kallsyms).o | 677 | kallsyms.o := .tmp_kallsyms$(last_kallsyms).o |
678 | 678 | ||
679 | define verify_kallsyms | 679 | define verify_kallsyms |
680 | $(Q)$(if $($(quiet)cmd_sysmap), \ | 680 | $(Q)$(if $($(quiet)cmd_sysmap), \ |
681 | echo ' $($(quiet)cmd_sysmap) .tmp_System.map' &&) \ | 681 | echo ' $($(quiet)cmd_sysmap) .tmp_System.map' &&) \ |
682 | $(cmd_sysmap) .tmp_vmlinux$(last_kallsyms) .tmp_System.map | 682 | $(cmd_sysmap) .tmp_vmlinux$(last_kallsyms) .tmp_System.map |
683 | $(Q)cmp -s System.map .tmp_System.map || \ | 683 | $(Q)cmp -s System.map .tmp_System.map || \ |
684 | (echo Inconsistent kallsyms data; \ | 684 | (echo Inconsistent kallsyms data; \ |
685 | echo Try setting CONFIG_KALLSYMS_EXTRA_PASS; \ | 685 | echo Try setting CONFIG_KALLSYMS_EXTRA_PASS; \ |
686 | rm .tmp_kallsyms* ; /bin/false ) | 686 | rm .tmp_kallsyms* ; /bin/false ) |
687 | endef | 687 | endef |
688 | 688 | ||