]> git.sur5r.net Git - u-boot/commitdiff
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 9a530b3e80a0295f18cab2ecde638a0facde84a3..56d3d750a8bf5a8ca31b1c9d8a8b453c7395526e 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