1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-30 00:21:17 +00:00

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 <alex.chapman@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Alex Chapman
2026-05-20 14:43:54 +01:00
committed by Jon Mason
parent e04ac672d5
commit ce5b4c4b0a
@@ -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"