[U-Boot] [PATCH 2/3] Makefile: consolidate hardcoded lists of files to clean

Tom Rini trini at konsulko.com
Wed Dec 4 05:01:21 CET 2019


On Sun, Nov 10, 2019 at 08:25:09AM -0800, Thomas Hebb wrote:

> 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 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191203/644178dd/attachment.sig>


More information about the U-Boot mailing list