[PATCH v4] Makefile: add dependency from lib to arch/$(ARCH)/lib
Tom Rini
trini at konsulko.com
Sat Aug 2 00:30:04 CEST 2025
On Thu, 31 Jul 2025 14:52:48 +0300, Mikko Rapeli wrote:
> Top level Makefile starts separate "make" processes for each each
> subdirectory. lib/efi_loader apps now depend on lib.a from
> arch/$(ARCH)/lib if CONFIG_USE_PRIVATE_LIBGCC is enabled which creates
> a race conditions since dependency from lib/efi_loader EFI apps to
> arch/$(ARCH)/lib/lib.a is not explicit:
>
> arm-poky-linux-gnueabi-ld.bfd: cannot find arch/arm/lib/lib.a: No such file or directory
> make[3]: *** [scripts/Makefile.lib:512: lib/efi_loader/testapp_efi.so] Error 1
>
> [...]
Applied to u-boot/master, thanks!
[1/1] Makefile: add dependency from lib to arch/$(ARCH)/lib
commit: d0075e2d730a4fa48aa763a669e5edbc02c33a22
--
Tom
More information about the U-Boot
mailing list