Re: [U-Boot] [PATCH] nios2: allow link script overriding from boards

2010-04-22 Thread Scott McNutt
Applied. Thanks.
--Scott

Thomas Chou wrote:
> This patch allow boards to override the default link script.
> 
> Signed-off-by: Thomas Chou 
> ---
>  arch/nios2/config.mk |2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
> index f455982..8e5d6ef 100644
> --- a/arch/nios2/config.mk
> +++ b/arch/nios2/config.mk
> @@ -29,4 +29,4 @@ STANDALONE_LOAD_ADDR = 0x0200 -L $(gcclibdir)
>  PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
>  PLATFORM_CPPFLAGS += -ffixed-r15 -G0
>  
> -LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
> +LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] nios2: allow link script overriding from boards

2010-04-17 Thread Thomas Chou
This patch allow boards to override the default link script.

Signed-off-by: Thomas Chou 
---
 arch/nios2/config.mk |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
index f455982..8e5d6ef 100644
--- a/arch/nios2/config.mk
+++ b/arch/nios2/config.mk
@@ -29,4 +29,4 @@ STANDALONE_LOAD_ADDR = 0x0200 -L $(gcclibdir)
 PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
 PLATFORM_CPPFLAGS += -ffixed-r15 -G0
 
-LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
+LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
-- 
1.6.6.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot