summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-09-05 01:56:51 +0900
committerTom Rini <trini@ti.com>2014-09-16 12:23:58 -0400
commit021f0495979317e26b2cf582cf2b765008390bcd (patch)
tree772cccb7013ba457bc8f449bcf22fa0446e8c129 /scripts
parent8caaec62602453cf2a24ccc0799c59bf4e3d74f9 (diff)
downloadu-boot-imx-021f0495979317e26b2cf582cf2b765008390bcd.zip
u-boot-imx-021f0495979317e26b2cf582cf2b765008390bcd.tar.gz
u-boot-imx-021f0495979317e26b2cf582cf2b765008390bcd.tar.bz2
scripts/Makefile.clean: clean also $(extra-m) and $(extra-)
This commit is a backport from Linux Kernel, commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e, written by me. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.clean4
1 files changed, 2 insertions, 2 deletions
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-)