summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cf8ecb780d2..5c91ce04c4e 100644
--- a/Makefile
+++ b/Makefile
@@ -1338,10 +1338,10 @@ clean:
rm -f board/trab/trab_fkt
clobber: clean
- find . -type f \
- \( -name .depend -o -name '*.srec' -o -name '*.bin' \) \
- -print \
- | xargs rm -f
+ find . -type f \( -name .depend \
+ -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
+ -print0 \
+ | xargs -0 rm -f
rm -f $(OBJS) *.bak tags TAGS
rm -fr *.*~
rm -f u-boot u-boot.map $(ALL)