From ce5b4c4b0a78f62cbd76e45ebd9307c5cb99477a Mon Sep 17 00:00:00 2001 From: Alex Chapman Date: Wed, 20 May 2026 14:43:54 +0100 Subject: [PATCH] arm/edk2-basetools-native: Add missing libuuid dependency GenFv requires libuuid in the native sysroot. Add util-linux-libuuid-native and pass required flags through to the BaseTools makefiles. This can be missed on machines with libuuid headers installed, as the build may find the host copy instead. Signed-off-by: Alex Chapman Signed-off-by: Jon Mason --- .../recipes-bsp/uefi/edk2-basetools-native_202602.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb index e2d927e2..28bd0dba 100644 --- a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb +++ b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb @@ -27,6 +27,17 @@ inherit native RDEPENDS:${PN} += "python3-core" +DEPENDS += "util-linux-libuuid-native" + +EXTRA_OEMAKE += "\ + CC='${BUILD_CC}' \ + CXX='${BUILD_CXX}' \ + AR='${BUILD_AR}' \ + LINKER='${BUILD_CC}' \ + EXTRA_OPTFLAGS='${BUILD_CFLAGS}' \ + EXTRA_LDFLAGS='${BUILD_LDFLAGS}' \ +" + do_compile() { BASE_C="${S}/BaseTools/Source/C"