From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Thu, 20 Feb 2014 08:50:57 +0000 (+0900)
Subject: kbuild: a minor optimization of "make clobber"
X-Git-Tag: v2025.01-rc5-pxa1908~15470^2~48
X-Git-Url: http://git.dujemihanovic.xyz/img/html/index.html?a=commitdiff_plain;h=73c8b52b392821af150f814aef6e8a88f9f24c42;p=u-boot.git

kbuild: a minor optimization of "make clobber"

The pattern rule "MLO*" can delete both MLO and MLO.byteswap.

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

diff --git a/Makefile b/Makefile
index 9a530b3e80..56d3d750a8 100644
--- 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