From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Sat, 6 Feb 2010 00:49:37 +0100 Subject: [U-Boot] [PATCH] Makefile: remove symbolic links in tools/ Message-ID: <20100205234937.GA13203@morgana.gnudd.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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