From e2575355d94e768ff194da8c3731e39f2bbc47b7 Mon Sep 17 00:00:00 2001 From: Ali Can Ozaslan Date: Wed, 30 Jul 2025 12:53:26 +0100 Subject: [PATCH] arm/edk2-basetools-native: WORKDIR fix Upstream has removed the need to explicitly set S = "${WORKDIR}/git", and now defaults to S = "${UNPACKDIR}". As a result, directly referencing ${WORKDIR}/git will fail when the source is unpacked elsewhere. Update do_install() to use ${S}/BaseTools instead of the hardcoded path. This issue was previously unnoticed as EDK2 tools (e.g. GenerateCapsule) were not being used in the build path at the time of the earlier refactor (commit eea74860). Signed-off-by: Ali Can Ozaslan Signed-off-by: Jon Mason --- meta-arm/recipes-bsp/uefi/edk2-basetools-native_202502.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202502.bb b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202502.bb index e9e48217..0c08fce7 100644 --- a/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202502.bb +++ b/meta-arm/recipes-bsp/uefi/edk2-basetools-native_202502.bb @@ -20,5 +20,5 @@ RDEPENDS:${PN} += "python3-core" do_install () { mkdir -p ${D}${bindir}/edk2-BaseTools - cp -r ${WORKDIR}/git/BaseTools/* ${D}${bindir}/edk2-BaseTools/ + cp -r ${S}/BaseTools/* ${D}${bindir}/edk2-BaseTools/ }