Small changes in Makefile
authorPiotr Dymacz <pepe2k@gmail.com>
Sun, 9 Feb 2014 14:29:26 +0000 (15:29 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Sun, 9 Feb 2014 14:29:26 +0000 (15:29 +0100)
Makefile

index a0f067d3d8aa9b1740d05bbce2762b455ad39845..f266e07a6823f593866bb13847877dd494732c9e 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -188,13 +188,10 @@ show_size:
     fi;
 
 clean:
-       @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) clean
-       @rm -f $(BUILD_TOPDIR)/bin/*.bin
-       @rm -f $(BUILD_TOPDIR)/bin/*.md5
+       @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) distclean
        @rm -f $(BUILD_TOPDIR)/u-boot/httpd/fsdata.c
 
-clean_all:
-       @cd $(BUILD_TOPDIR)/u-boot/ && $(MAKECMD) distclean
+clean_all:     clean
+       @echo Removing all binary images
        @rm -f $(BUILD_TOPDIR)/bin/*.bin
        @rm -f $(BUILD_TOPDIR)/bin/*.md5
-       @rm -f $(BUILD_TOPDIR)/u-boot/httpd/fsdata.c