projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: use scripts/Makefile.clean
[platform/kernel/u-boot.git]
/
scripts
/
Makefile.clean
diff --git
a/scripts/Makefile.clean
b/scripts/Makefile.clean
index
686cb0d
..
5cd0f51
100644
(file)
--- a/
scripts/Makefile.clean
+++ b/
scripts/Makefile.clean
@@
-37,6
+37,10
@@
subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-))
subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
+# Temporal work-around for U-Boot
+
+subdir-ymn := $(foreach f, $(subdir-ymn), $(if $(wildcard $f/Makefile),$f))
+
# build a list of files to remove, usually relative to the current
# directory