All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] SIMPC8313 board: fix out of tree building.
@ 2009-03-09  9:53 wd at denx.de
  2009-03-09 23:32 ` Kim Phillips
  0 siblings, 1 reply; 2+ messages in thread
From: wd at denx.de @ 2009-03-09  9:53 UTC (permalink / raw)
  To: u-boot

From: Wolfgang Denk <wd@denx.de>

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>
---
 nand_spl/board/sheldon/simpc8313/Makefile |   27 ++++++++++++++++++---------
 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 $@
 
 #########################################################################
 
-- 
1.6.0.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] SIMPC8313 board: fix out of tree building.
  2009-03-09  9:53 [U-Boot] [PATCH] SIMPC8313 board: fix out of tree building wd at denx.de
@ 2009-03-09 23:32 ` Kim Phillips
  0 siblings, 0 replies; 2+ messages in thread
From: Kim Phillips @ 2009-03-09 23:32 UTC (permalink / raw)
  To: u-boot

On Mon,  9 Mar 2009 10:53:05 +0100
wd at denx.de wrote:

> From: Wolfgang Denk <wd@denx.de>
> 
> 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>
> ---
argh, hadn't added that new board to my out-of-tree build test.  I'm
sending you a pull request since I see you haven't applied this to your
tree yet.

Kim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-09 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-09  9:53 [U-Boot] [PATCH] SIMPC8313 board: fix out of tree building wd at denx.de
2009-03-09 23:32 ` Kim Phillips

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.