Patchwork [U-Boot] avr32: Remove redundant LDSCRIPT definition

login
register
mail settings
Submitter Benoît Thébaudeau
Date Aug. 10, 2012, 7:55 p.m.
Message ID <360827626.2282764.1344628543675.JavaMail.root@advansee.com>
Download mbox | patch
Permalink /patch/176614/
State Accepted
Commit ef55e84a89967fc8a56b095dfb100010eca94719
Headers show

Comments

Benoît Thébaudeau - Aug. 10, 2012, 7:55 p.m.
AVR32's LD script uses a standard location that is now automatically detected by
the main Makefile, so its definition in AVR32's config.mk is now obsolete and
redundant.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
---
 .../arch/avr32/config.mk                           |    2 --
 1 file changed, 2 deletions(-)
Andreas Bießmann - Aug. 13, 2012, 9:11 a.m.
Dear Benoît Thébaudeau,

On 10.08.2012 21:55, Benoît Thébaudeau wrote:
> AVR32's LD script uses a standard location that is now automatically detected by
> the main Makefile, so its definition in AVR32's config.mk is now obsolete and
> redundant.
> 
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
> Cc: Andreas Bießmann <andreas.devel@googlemail.com>
> ---

applied to u-boot-avr32, thanks!

Best regards

Andreas Bießmann

Patch

diff --git u-boot-4d3c95f.orig/arch/avr32/config.mk u-boot-4d3c95f/arch/avr32/config.mk
index d8e7ebb..a751a3d 100644
--- u-boot-4d3c95f.orig/arch/avr32/config.mk
+++ u-boot-4d3c95f/arch/avr32/config.mk
@@ -29,5 +29,3 @@  PLATFORM_RELFLAGS	+= -ffixed-r5 -fPIC -mno-init-got -mrelax
 PLATFORM_RELFLAGS	+= -ffunction-sections -fdata-sections
 
 LDFLAGS_u-boot		= --gc-sections --relax
-
-LDSCRIPT			= $(SRCTREE)/$(CPUDIR)/u-boot.lds