diff mbox series

arm/edk2-basetools-native: Add missing libuuid dependency

Message ID 20260520134354.554617-1-alex.chapman@arm.com
State New
Headers show
Series arm/edk2-basetools-native: Add missing libuuid dependency | expand

Commit Message

Alex Chapman May 20, 2026, 1:43 p.m. UTC
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 <alex.chapman@arm.com>
---
 .../recipes-bsp/uefi/edk2-basetools-native_202602.bb  | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series

Patch

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"