From: Masahiro Yamada <yamada.m@jp.panasonic.com>
Date: Fri, 6 Jun 2014 01:43:55 +0000 (+0900)
Subject: scripts/Makefile.clean: clean also $(extra-m) and $(extra-)
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9d5db8949f1ecf4019785b04d8986835d3c0e99e;p=linux.git

scripts/Makefile.clean: clean also $(extra-m) and $(extra-)

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
---

diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
index 686cb0d31c7c9..a651cee84f2a8 100644
--- a/scripts/Makefile.clean
+++ b/scripts/Makefile.clean
@@ -40,8 +40,8 @@ subdir-ymn	:= $(addprefix $(obj)/,$(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-)