summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-03-09 10:53:05 +0100
committerKim Phillips <kim.phillips@freescale.com>2009-03-09 18:08:01 -0500
commitc279dfc10186ceba78d3862036f158750e86599a (patch)
treed9d60ccb48872320be82529ec7b120ab552cb45c
parent014c595f12d4f7e14cb10188f856465b2d41718f (diff)
downloadu-boot-imx-c279dfc10186ceba78d3862036f158750e86599a.zip
u-boot-imx-c279dfc10186ceba78d3862036f158750e86599a.tar.gz
u-boot-imx-c279dfc10186ceba78d3862036f158750e86599a.tar.bz2
SIMPC8313 board: fix out of tree building.
Fix typo in makefile which broke out of tree builds. Also use expolicit "rm" instead of "ln -sf" which is known to be unreliable. Signed-off-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r--nand_spl/board/sheldon/simpc8313/Makefile27
1 files changed, 18 insertions, 9 deletions
diff --git a/nand_spl/board/sheldon/simpc8313/Makefile b/nand_spl/board/sheldon/simpc8313/Makefile
index 416e176..20199c7 100644
--- a/nand_spl/board/sheldon/simpc8313/Makefile
+++ b/nand_spl/board/sheldon/simpc8313/Makefile
@@ -62,31 +62,40 @@ $(nandobj)u-boot-spl: $(OBJS)
# create symbolic links for common files
$(obj)start.S:
- ln -sf $(SRCTREE)/cpu/mpc83xx/start.S $<
+ @rm -f $@
+ ln -s $(SRCTREE)/cpu/mpc83xx/start.S $@
$(obj)nand_boot_fsl_elbc.c:
- ln -sf $(SRCTREE)/nand_spl/nand_boot_fsl_elbc.c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/nand_spl/nand_boot_fsl_elbc.c $@
$(obj)sdram.c:
- ln -sf $(SRCTREE)/board/$(BOARDDIR)/sdram.c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/board/$(BOARDDIR)/sdram.c $@
$(obj)$(BOARD).c:
- ln -sf $(SRCTREE)/board/$(BOARDDIR)/$(BOARD).c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/board/$(BOARDDIR)/$(BOARD).c $@
$(obj)ns16550.c:
- ln -sf $(SRCTREE)/drivers/serial/ns16550.c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/drivers/serial/ns16550.c $@
$(obj)nand_init.c:
- ln -sf $(SRCTREE)/cpu/mpc83xx/nand_init.c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/cpu/mpc83xx/nand_init.c $@
$(obj)cache.c:
- ln -sf $(SRCTREE)/lib_ppc/cache.c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/lib_ppc/cache.c $@
$(obj)time.c:
- ln -sf $(SRCTREE)/lib_ppc/time.c $<
+ @rm -f $@
+ ln -s $(SRCTREE)/lib_ppc/time.c $@
$(obj)ticks.S:
- ln -sf $(SRCTREE)/lib_ppc/ticks.S $<
+ @rm -f $@
+ ln -s $(SRCTREE)/lib_ppc/ticks.S $@
#########################################################################