[PATCH] Makefile: Improve generated_defconfig file handling

Tom Rini trini at konsulko.com
Thu Mar 14 01:40:17 CET 2024


On Thu, Mar 07, 2024 at 09:38:22PM -0600, Sam Protsenko wrote:

> Commit 2027e99e61aa ("Makefile: Run defconfig files through the C
> preprocessor") adds `generated_defconfig' file, but fails to clean that
> up. It might be useful to have that file around after `make' is done,
> but it's better to clean that up on `make clean'. Also we probably want
> to hide it in `git status' list. This patch makes the described changes,
> and also adds `-P' parameter to the CPP command that produces the
> `generated_defconfig' to avoid generating linemarkers.
> 
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> Fixes: 2027e99e61aa ("Makefile: Run defconfig files through the C preprocessor")
> Acked-by: Andrew Davis <afd at ti.com>

Applied to u-boot/next, thanks!

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


More information about the U-Boot mailing list