summaryrefslogtreecommitdiff
path: root/nand_spl/board/amcc/bamboo/Makefile
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-09-15 00:01:53 +0200
committerMichal Simek <monstr@monstr.eu>2007-09-15 00:01:53 +0200
commit329ff3c93862bbee281cc601db786ce35026ca4a (patch)
tree58d8a5198e09b2f9cd26eaca38cabc49d1db4dbe /nand_spl/board/amcc/bamboo/Makefile
parentd45963854eff39d575124d859419bb4953ce2c87 (diff)
parent38ad82da0c1180ecdeb212a8f4245e945bcc546e (diff)
Merge ../u-boot
Diffstat (limited to 'nand_spl/board/amcc/bamboo/Makefile')
-rw-r--r--nand_spl/board/amcc/bamboo/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/nand_spl/board/amcc/bamboo/Makefile b/nand_spl/board/amcc/bamboo/Makefile
index 0df86f99d4..8b5461dcf4 100644
--- a/nand_spl/board/amcc/bamboo/Makefile
+++ b/nand_spl/board/amcc/bamboo/Makefile
@@ -84,6 +84,12 @@ $(obj)nand_ecc.c:
@rm -f $(obj)nand_ecc.c
ln -s $(SRCTREE)/drivers/nand/nand_ecc.c $(obj)nand_ecc.c
+ifneq ($(OBJTREE), $(SRCTREE))
+$(obj)sdram.c:
+ @rm -f $(obj)sdram.c
+ ln -s $(SRCTREE)/nand_spl/board/$(BOARDDIR)/sdram.c $(obj)sdram.c
+endif
+
#########################################################################
$(obj)%.o: $(obj)%.S