I think this hack is a bad idea. arch/powerpc/boot/Makefile is the only and last user. Let's stop doing this.
Showing the changes to scripts (1 of 2 files). Show all
Unified · Split
| @@ -36,13 +36,7 @@ __clean-files := \ · 35 unmodified lines | |||
| 36 | 36 | ||
| 37 | __clean-files := $(filter-out $(no-clean-files), $(__clean-files)) | 37 | __clean-files := $(filter-out $(no-clean-files), $(__clean-files)) |
| 38 | 38 | ||
| 39 | # clean-files is given relative to the current directory, unless it | 39 | __clean-files := $(wildcard $(addprefix $(obj)/, $(__clean-files))) |
| 40 | # starts with $(objtree)/ (which means "./", so do not add "./" unless | ||
| 41 | # you want to delete a file from the toplevel object directory). | ||
| 42 | |||
| 43 | __clean-files := $(wildcard \ | ||
| 44 | $(addprefix $(obj)/, $(filter-out $(objtree)/%, $(__clean-files))) \ | ||
| 45 | $(filter $(objtree)/%, $(__clean-files))) | ||
| 46 | 40 | ||
| 47 | # ========================================================================== | 41 | # ========================================================================== |
| 48 | 42 | ||