From 3f4684889f6cdcac94b2c9e9cdf994029c021fea Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Mon, 20 Dec 2010 15:30:10 +0100 Subject: Do not remove all .bin upon distclean make distclean removes all .bin files. This patch limits it to generated .bin files. ST-Ericsson ID: ER282970 Change-Id: I31099cdcfaf465aa0d0f4db633dfc545755cba2d Signed-off-by: Michael Brandt Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11327 Reviewed-by: Robert ROSENGREN --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 994f76316..bad1598f8 100644 --- a/Makefile +++ b/Makefile @@ -3758,9 +3758,10 @@ clean: clobber: clean @find $(OBJTREE) -type f \( -name .depend \ - -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ + -o -name '*.srec' -o -name u-boot.img \) \ -print0 \ | xargs -0 rm -f + @rm -f $(obj)examples/standalone/*.bin @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS \ $(obj)cscope.* $(obj)*.*~ @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL) -- cgit v1.2.3