From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Sat, 29 Jan 2011 16:57:07 +0100 Subject: [U-Boot] [PATCH 07/13] update/fix AcTux1 board In-Reply-To: <20110125204449.69815B187@gemini.denx.de> References: <1294062338-21084-1-git-send-email-michael@schwingen.org> <1294062338-21084-8-git-send-email-michael@schwingen.org> <20110125204449.69815B187@gemini.denx.de> Message-ID: <4D4438D3.4090609@discworld.dascon.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? > I got out everything except the LDSCRIPT definition. However, I can't find a way to specify a board-specific linker script (which I need due to the embedded environment) without using config.mk in the board directory, since the platform sets up a non-board default in arch/arm/config.mk. How about a #define CONFIG_BOARD_LDSCRIPT that is picked up by autoconf.mk and used in the Makefiles if set? cu Michael