Makefile.clean (9e8238020c5beba64e7ffafbb7ea0fb02fe68270) | Makefile.clean (42640b134bf44e3bac34808e8c39660c7ae42855) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# ========================================================================== 3# Cleaning up 4# ========================================================================== 5 6src := $(obj) 7 8PHONY := __clean --- 15 unchanged lines hidden (view full) --- 24 25subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn)) 26 27# build a list of files to remove, usually relative to the current 28# directory 29 30__clean-files := $(extra-y) $(extra-m) $(extra-) \ 31 $(always) $(always-y) $(always-m) $(always-) $(targets) $(clean-files) \ | 1# SPDX-License-Identifier: GPL-2.0 2# ========================================================================== 3# Cleaning up 4# ========================================================================== 5 6src := $(obj) 7 8PHONY := __clean --- 15 unchanged lines hidden (view full) --- 24 25subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn)) 26 27# build a list of files to remove, usually relative to the current 28# directory 29 30__clean-files := $(extra-y) $(extra-m) $(extra-) \ 31 $(always) $(always-y) $(always-m) $(always-) $(targets) $(clean-files) \ |
32 $(hostprogs) $(hostprogs-y) $(hostprogs-m) $(hostprogs-) \ 33 $(hostcxxlibs-y) $(hostcxxlibs-m) | 32 $(hostprogs) $(hostprogs-y) $(hostprogs-m) $(hostprogs-) $(userprogs) |
34 35__clean-files := $(filter-out $(no-clean-files), $(__clean-files)) 36 37# clean-files is given relative to the current directory, unless it 38# starts with $(objtree)/ (which means "./", so do not add "./" unless 39# you want to delete a file from the toplevel object directory). 40 41__clean-files := $(wildcard \ --- 27 unchanged lines hidden --- | 33 34__clean-files := $(filter-out $(no-clean-files), $(__clean-files)) 35 36# clean-files is given relative to the current directory, unless it 37# starts with $(objtree)/ (which means "./", so do not add "./" unless 38# you want to delete a file from the toplevel object directory). 39 40__clean-files := $(wildcard \ --- 27 unchanged lines hidden --- |