]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
scripts/Makefile.clean: clean also $(extra-m) and $(extra-)
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 4 Sep 2014 16:56:51 +0000 (01:56 +0900)
committerTom Rini <trini@ti.com>
Tue, 16 Sep 2014 16:23:58 +0000 (12:23 -0400)
This commit is a backport from Linux Kernel,
commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e,
written by me.

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

index d6dcd47f6f9742ff36c0d6fe1ebe43eabe1c2b5b..88f14e2d8fb4419927d057f325349297fba275f9 100644 (file)
@@ -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-)