]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - config.mk
Add support for AMCC Sequoia PPC440EPx eval board
[thirdparty/u-boot.git] / config.mk
index 3ed7107fb807de30d060161fe65627d386c9c1d7..0f5d0f43d94f7a86caa90ef85b93479ba60ed71e 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -132,8 +132,12 @@ DBGFLAGS= -g # -DDEBUG
 OPTFLAGS= -Os #-fomit-frame-pointer
 ifndef LDSCRIPT
 #LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds.debug
+ifeq ($(CONFIG_NAND_U_BOOT),y)
+LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds
+else
 LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
 endif
+endif
 OBJCFLAGS += --gap-fill=0xff
 
 gccincdir := $(shell $(CC) -print-file-name=include)