summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-08-16 18:54:27 +0200
committerWolfgang Denk <wd@denx.de>2008-08-21 01:41:15 +0200
commita958b663d27f616bd1dfb720d1b476d1ecaaa569 (patch)
treeaef020e09c03043879270ea8bccbde2c402c5c38 /Makefile
parentbef92e215d945cc574399c1a1b00a3a76d35aa03 (diff)
downloadu-boot-imx-a958b663d27f616bd1dfb720d1b476d1ecaaa569.zip
u-boot-imx-a958b663d27f616bd1dfb720d1b476d1ecaaa569.tar.gz
u-boot-imx-a958b663d27f616bd1dfb720d1b476d1ecaaa569.tar.bz2
Makefile: fix posix support on find
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5007c8e..8c90dab 100644
--- a/Makefile
+++ b/Makefile
@@ -3112,9 +3112,9 @@ clobber: clean
@rm -f $(obj)tools/{fdt_wip.c,libfdt_internal.h}
@rm -f $(obj)cpu/mpc824x/bedbug_603e.c
@rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
- @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
- @[ ! -d $(obj)onenand_ipl ] || find $(obj)onenand_ipl -lname "*" -print | xargs rm -f
- @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f
+ @[ ! -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)api_examples ] || find $(obj)api_examples -name "*" -type l -print | xargs rm -f
ifeq ($(OBJTREE),$(SRCTREE))
mrproper \