diff mbox

[U-Boot] kbuild: a minor optimization of "make clobber"

Message ID 1392886257-1366-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Feb. 20, 2014, 8:50 a.m. UTC
The pattern rule "MLO*" can delete both MLO and MLO.byteswap.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Feb. 21, 2014, 7:59 p.m. UTC | #1
On Thu, Feb 20, 2014 at 05:50:57PM +0900, Masahiro Yamada wrote:

> The pattern rule "MLO*" can delete both MLO and MLO.byteswap.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 6ec55c5..b5fca23 100644
--- a/Makefile
+++ b/Makefile
@@ -1173,7 +1173,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