X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=scripts%2FMakefile.clean;h=686cb0d31c7c956943693dd0d517d878cf99b7a0;hb=d530db0db90378b5674cb78d9c0cfcc83f851a5e;hp=6f89fbb56256987bf0c002683f85941ccddc861a;hpb=f7ce1f5e083fc099346019fb1f8d56a5452703ed;p=net-next-2.6.git diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 6f89fbb5625..686cb0d31c7 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean @@ -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