diff mbox

[U-Boot,1/2] scripts/Makefile.clean: clean also $(extra-m) and $(extra-)

Message ID 1409849812-17466-2-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Sept. 4, 2014, 4:56 p.m. UTC
This commit is a backport from Linux Kernel,
commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e,
written by me.

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

This patch was well-reviewed on Linux Kbuild ML and
is already in the Linux mainline.
It is surely safe.


 scripts/Makefile.clean | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Tom Rini Sept. 17, 2014, 12:46 a.m. UTC | #1
On Fri, Sep 05, 2014 at 01:56:51AM +0900, Masahiro Yamada wrote:

> This commit is a backport from Linux Kernel,
> commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e,
> written by me.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

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

Patch

diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
index d6dcd47..88f14e2 100644
--- a/scripts/Makefile.clean
+++ b/scripts/Makefile.clean
@@ -45,8 +45,8 @@  subdir-ymn	:= $(foreach f, $(subdir-ymn), \
 # build a list of files to remove, usually relative to the current
 # directory
 
-__clean-files	:= $(extra-y) $(always)                  \
-		   $(targets) $(clean-files)             \
+__clean-files	:= $(extra-y) $(extra-m) $(extra-)       \
+		   $(always) $(targets) $(clean-files)   \
 		   $(host-progs)                         \
 		   $(hostprogs-y) $(hostprogs-m) $(hostprogs-)