Skip to contentSkip to conversation

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

PATCH Applied Alex Chapman 2 participants 2 messages May 20 – May 27

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 .../recipes-bsp/uefi/edk2-basetools-native_202602.bb  | 11 +++++++++++
 1 file changed, 11 insertions(+)
meta-arm/recipes-bsp/uefi/edk2-basetools-native_202602.bb +11 -0
index e2d927e2..28bd0dba 100644
@@ -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"
 
Applied
#1 lore raw
Quoted 8 lines · Alex Chapman

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.

[...]

Applied, thanks!

[1/1] arm/edk2-basetools-native: Add missing libuuid dependency

      commit: ce5b4c4b0a78f62cbd76e45ebd9307c5cb99477a

Best regards,

Signature · 1 line
Jon Mason <[email protected]>