arm/edk2-basetools-native: Add missing libuuid dependency
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.
Signed-off-by Alex Chapman <[email protected]>
--- .../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
@@ -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"
Jon Mason
AppliedQuoted 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]>