kbuild: a minor optimization of "make clobber"
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 20 Feb 2014 08:50:57 +0000 (17:50 +0900)
committerTom Rini <trini@ti.com>
Fri, 21 Feb 2014 16:33:18 +0000 (11:33 -0500)
The pattern rule "MLO*" can delete both MLO and MLO.byteswap.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile

index 9a530b3..56d3d75 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1178,7 +1178,7 @@ CLEAN_FILES += u-boot.lds include/bmp_logo.h include/bmp_logo_data.h \
 CLOBBER_DIRS  += $(patsubst %,spl/%, $(filter-out Makefile, \
                 $(shell ls -1 spl 2>/dev/null))) \
                 tpl
-CLOBBER_FILES += u-boot* MLO MLO* SPL System.map nand_spl/u-boot*
+CLOBBER_FILES += u-boot* MLO* SPL System.map nand_spl/u-boot*
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include/generated