X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=scripts%2FMakefile.clean;h=686cb0d31c7c956943693dd0d517d878cf99b7a0;hb=HEAD;hp=6f89fbb56256987bf0c002683f85941ccddc861a;hpb=3156fd0529b5216f4f444f4a7752b82dc1bd99c0;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