diff options
author | Thomas Hebb <tommyhebb@gmail.com> | 2019-11-10 08:25:09 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-03 08:43:23 -0500 |
commit | 0f18cf32fbc23590515886f1c430cf72034544f9 (patch) | |
tree | 2cadddaeb0496daeb691f29344af944e96e86673 /arch/mips/mach-mscc/include | |
parent | 57297e605a06b69129da63b17f1b76fb53a84b3f (diff) |
Makefile: consolidate hardcoded lists of files to clean
Currently, we have two places where we list files that should always be
cleaned if they exist. One, the CLEAN_FILES variable, is from the Linux
build system and is the proper place to list files.
The other, a set of extra arguments passed in the xargs template used to
remove files with certain extensions, was introduced by 8f06f0cee3d3
("Makefile: clean image.map") and is clearly wrong: by extending the
xargs template, we attempt to remove the files once for each batch of
arguments that xargs produces and we reduce the number of files from
stdin that xargs can include in each of its rm commands.
To fix this, put all hardcoded files into CLEAN_FILES.
Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Diffstat (limited to 'arch/mips/mach-mscc/include')
0 files changed, 0 insertions, 0 deletions