sh: add support the CONFIG_SYS_LDSCRIPT
PATCH 1/1 sh: add support the CONFIG_SYS_LDSCRIPT
Signed-off-by Yoshihiro Shimoda <[email protected]>
--- arch/sh/config.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/sh/config.mk +4 -0
@@ -31,4 +31,8 @@ endif PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE) +ifdef CONFIG_SYS_LDSCRIPT +LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT)) +else LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds +endif
Signature · 1 line
1.7.1
Nobuhiro Iwamatsu
AppliedPATCH 1/1 sh: add support the CONFIG_SYS_LDSCRIPT
Applied, thanks.
Quoted 20 lines · Yoshihiro Shimoda
Signed-off-by Yoshihiro Shimoda <[email protected]>--- arch/sh/config.mk | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/sh/config.mk +4
-0@@ -31,4 +31,8 @@ endif PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__ PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE) +ifdef CONFIG_SYS_LDSCRIPT +LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT)) +else LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds +endifSignature · 1 line
1.7.1