[PATCH] scripts/Makefile.lib: fix *_efi.so dependency to PLATFORM_LIBGCC

Tom Rini trini at konsulko.com
Fri Jul 11 00:25:11 CEST 2025


On Thu, Jul 10, 2025 at 06:08:14PM +0300, Mikko Rapeli wrote:
> Hi, moving patch review from oe-core list to u-boot:
> 
> On Thu, Jul 10, 2025 at 08:59:03AM -0600, Tom Rini wrote:
> <snip>
> > I cleared you patch (and moderation flag) but I don't think the above
> > works in all cases since PLATFORM_LIBGCC can have a number of values
> > only one of which is that file.
> 
> Right. Should I make the dependency conditional to
> CONFIG_USE_PRIVATE_LIBGCC like it's set in Makefile?
> 
> I don't see another variable for lib.a to use in
> scripts/Makefile.lib

Yes, that's my first thought as well. But that might also fail when
CC_COVERAGE is enabled. So you might need to adjust that logic too.

-- 
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/20250710/fcba908e/attachment.sig>


More information about the U-Boot mailing list