From b841bc9b8ea79d76f2964e04973066b09978e109 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Tue, 2 Aug 2011 21:06:24 +0200 Subject: Build system: kconfig : Update from linux-mips 0085b5e052d478f5ef1129ed7325f8f07d720ad4 Signed-off-by: Abdoulaye Walsimou Gaye --- scripts/Makefile.clean | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/Makefile.clean') diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index d81ccf2..ecbbecd 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean @@ -45,18 +45,20 @@ __clean-files := $(extra-y) $(always) \ $(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 __clean-files := $(wildcard \ - $(addprefix $(obj)/, $(filter-out /%, $(__clean-files))) \ + $(addprefix $(obj)/, $(filter-out %, $(__clean-files))) \ $(filter %, $(__clean-files))) # as clean-dirs is given relative to the current directory, this adds # a $(obj) prefix, except for absolute paths __clean-dirs := $(wildcard \ - $(addprefix $(obj)/, $(filter-out /%, $(clean-dirs))) \ + $(addprefix $(obj)/, $(filter-out %, $(clean-dirs))) \ $(filter %, $(clean-dirs))) # ========================================================================== -- cgit v1.2.3