diff options
author | Michael Brandt <michael.brandt@stericsson.com> | 2010-12-20 15:30:10 +0100 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-12-22 10:40:42 +0100 |
commit | 3f4684889f6cdcac94b2c9e9cdf994029c021fea (patch) | |
tree | 1291602c3aaf70700a8bc29844074b0fcd734931 | |
parent | f535740873c46a0efc81f1395c94820bda1b36bb (diff) |
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 <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11327
Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |