initramfs: fix initramfs size calculation
[linux-drm-fsl-dcu.git] / scripts / Makefile.clean
index 6f89fbb56256987bf0c002683f85941ccddc861a..686cb0d31c7c956943693dd0d517d878cf99b7a0 100644 (file)
@@ -45,6 +45,8 @@ __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