kbuild: introduce hostprogs-always-y and userprogs-always-y
[linux-2.6-microblaze.git] / scripts / Makefile.clean
index 3cdf312..d9e0cea 100644 (file)
@@ -27,9 +27,15 @@ subdir-ymn   := $(addprefix $(obj)/,$(subdir-ymn))
 # build a list of files to remove, usually relative to the current
 # directory
 
-__clean-files  := $(extra-y) $(extra-m) $(extra-)       \
-                  $(always) $(always-y) $(always-m) $(always-) $(targets) $(clean-files)   \
-                  $(hostprogs) $(hostprogs-y) $(hostprogs-m) $(hostprogs-) $(userprogs)
+__clean-files  := \
+       $(clean-files) $(targets) $(hostprogs) $(userprogs) \
+       $(extra-y) $(extra-m) $(extra-) \
+       $(always-y) $(always-m) $(always-) \
+       $(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \
+       $(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)
+
+# deprecated
+__clean-files  += $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-)
 
 __clean-files   := $(filter-out $(no-clean-files), $(__clean-files))