From: Tom Rini Date: Tue, 3 Dec 2019 23:01:21 -0500 Subject: [U-Boot] [PATCH 2/3] Makefile: consolidate hardcoded lists of files to clean In-Reply-To: <7bfdfb57c37331e234038e8429446c50d617c5cb.1573403105.git.tommyhebb@gmail.com> References: <19e9869a413e658b6e05b2f7d32186f2cd0dc752.1573403105.git.tommyhebb@gmail.com> <7bfdfb57c37331e234038e8429446c50d617c5cb.1573403105.git.tommyhebb@gmail.com> Message-ID: <20191204040121.GO15966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: