
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