Commit MetaInfo

Revision2c6e0046f9d1c91a40aec1b3fefeeb8cd955c582 (tree)
Zeit2018-12-28 23:50:20
AutorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

fix symbol

Ändern Zusammenfassung

Diff

--- a/arch/rx/boot/compressed/Makefile
+++ b/arch/rx/boot/compressed/Makefile
@@ -13,14 +13,15 @@ OBJECTS = $(obj)/head.o $(obj)/misc.o
1313 # Assign dummy values if these 2 variables are not defined,
1414 # in order to suppress error message.
1515 #
16-CONFIG_RAM_START ?= 0x08000000
16+CONFIG_RAMSTART ?= 0x08000000
1717 CONFIG_BOOT_LINK_OFFSET ?= 0x00800000
1818
19-IMAGE_OFFSET := $(shell printf "0x%08x" $$(($(CONFIG_RAM_START)+$(CONFIG_BOOT_LINK_OFFSET))))
19+IMAGE_OFFSET := $(shell printf "0x%08x" $$(($(CONFIG_RAMSTART)+$(CONFIG_BOOT_LINK_OFFSET))))
2020
2121 LIBGCC := $(shell $(CROSS-COMPILE)$(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
2222 LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -estartup -T $(obj)/vmlinux.lds \
23- --defsym output=$(CONFIG_RAM_START)
23+ --defsym output=$(CONFIG_RAMSTART)
24+CFLAGS_misc.o := -ggdb
2425
2526 $(obj)/vmlinux: $(OBJECTS) $(obj)/piggy.o $(LIBGCC) FORCE
2627 $(call if_changed,ld)
Show on old repository browser