diff options
-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 | ||