Revisión | 13c55f48a868fd45adfad4bfb18b6c04791184c9 (tree) |
---|---|
Tiempo | 2016-05-22 15:07:43 |
Autor | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
sh: if "CONFIG_SYS_TEXT_BASE" not defined, skip LDFLAGS.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
@@ -18,6 +18,8 @@ CONFIG_STANDALONE_LOAD_ADDR += -m2a-nofpu | ||
18 | 18 | endif |
19 | 19 | |
20 | 20 | PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ |
21 | +ifdef CONFIG_SYS_TEXT_BASE | |
21 | 22 | PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE) |
23 | +endif | |
22 | 24 | LDFLAGS_FINAL = --gc-sections |
23 | 25 | PLATFORM_RELFLAGS += -ffixed-r13 |