git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kbuild: Fix gcc -x syntax
[pandora-kernel.git]
/
scripts
/
Makefile.clean
diff --git
a/scripts/Makefile.clean
b/scripts/Makefile.clean
index
cff3349
..
686cb0d
100644
(file)
--- a/
scripts/Makefile.clean
+++ b/
scripts/Makefile.clean
@@
-37,14
+37,16
@@
subdir-ymn := $(sort $(subdir-ym) $(subdir-n) $(subdir-))
subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
-# build a list of files to remove, usually rel
e
ative to the current
+# build a list of files to remove, usually relative to the current
# directory
# directory
-__clean-files := $(extra-y) $(
EXTRA_TARGETS) $(always)
\
+__clean-files := $(extra-y) $(
always)
\
$(targets) $(clean-files) \
$(host-progs) \
$(hostprogs-y) $(hostprogs-m) $(hostprogs-)
$(targets) $(clean-files) \
$(host-progs) \
$(hostprogs-y) $(hostprogs-m) $(hostprogs-)
+__clean-files := $(filter-out $(no-clean-files), $(__clean-files))
+
# as clean-files is given relative to the current directory, this adds
# a $(obj) prefix, except for absolute paths
# as clean-files is given relative to the current directory, this adds
# a $(obj) prefix, except for absolute paths