[PATCH 12/13] arm/edk2-basetools-native: WORKDIR fix
Harsimran Singh Tungal <[email protected]>
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
From: Ali Can Ozaslan <[email protected]> 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 <[email protected]> --- 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/ }