On 7/6/25 1:29 PM, Magnus Damm wrote:
[...]
--- 0013/Makefile
+++ work/Makefile 2025-07-05 19:47:10.480068691 +0900
@@ -868,9 +868,11 @@ c_flags := $(KBUILD_CFLAGS) $(cpp_flags)
# U-Boot objects....order is important (i.e. start must be first)
HAVE_VENDOR_COMMON_LIB = $(if $(wildcard $(srctree)/board/$(VENDOR)/common/Makefile),y,n)
+HAVE_SOC_COMMON_LIB = $(if $(wildcard
$(srctree)/board/$(SOC)/common/Makefile),y,n)
libs-$(CONFIG_API) += api/
libs-$(HAVE_VENDOR_COMMON_LIB) += board/$(VENDOR)/common/
+libs-$(HAVE_SOC_COMMON_LIB) += board/$(SOC)/common/
Separate patch please .
libs-y += boot/
libs-$(CONFIG_CMDLINE) += cmd/
libs-y += common/
[...]
--
Best regards,
Marek Vasut