public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Makefile: remove symbolic links in tools/
@ 2010-02-05 23:49 Alessandro Rubini
  2010-02-06  0:01 ` Mike Frysinger
  0 siblings, 1 reply; 6+ messages in thread
From: Alessandro Rubini @ 2010-02-05 23:49 UTC (permalink / raw)
  To: u-boot

Older versions created symbolic links for e.g. crc32.c.
If such link remains in a tree, current Makefiles will use CC
instead of HOSTCC to compile it; this results in a linker error.
To be safe, let's remove any link from earlier checkouts.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 327aa8c..f85462c 100644
--- a/Makefile
+++ b/Makefile
@@ -3778,6 +3778,7 @@ clobber:	clean
 	@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
 	@[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
 	@[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -name "*" -type l -print | xargs rm -f
+	@[ ! -d $(obj)tools ] || find $(obj)tools -name "*" -type l -print | xargs rm -f
 
 ifeq ($(OBJTREE),$(SRCTREE))
 mrproper \
-- 
1.5.6.5

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

end of thread, other threads:[~2010-02-06 14:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 23:49 [U-Boot] [PATCH] Makefile: remove symbolic links in tools/ Alessandro Rubini
2010-02-06  0:01 ` Mike Frysinger
2010-02-06  1:08   ` Ben Warren
2010-02-06  1:36     ` Mike Frysinger
2010-02-06  8:06       ` Alessandro Rubini
2010-02-06 14:19         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox