Dear Michael Schwingen, In message <4d3f5eac.9000...@discworld.dascon.de> you wrote: > Am 01/25/2011 09:44 PM, schrieb Wolfgang Denk: > > > >> diff --git a/board/actux1/config.mk b/board/actux1/config.mk > >> index 88634f7..a370337 100644 > >> --- a/board/actux1/config.mk > >> +++ b/board/actux1/config.mk > >> @@ -1,6 +1,3 @@ > >> -CONFIG_SYS_TEXT_BASE = 0x00e00000 > >> - > >> -# include NPE ethernet driver > >> -BOARDLIBS = arch/arm/cpu/ixp/npe/libnpe.o > >> - > >> LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds > >> +PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections > >> +PLATFORM_LDFLAGS += --gc-sections > > Can we please get rid of this file completely? > If you have a better proposal where to add -ffunction-sections and > --gc-sections?
These should go to arch/arm/config.mk or at least arch/arm/cpu/*/config.mk It makes little sense to enable this on a per board level. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Real programmers can write assembly code in any language. :-) - Larry Wall in <8...@jpl-devvax.jpl.nasa.gov> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot