edk2-firmware: Fix configure sed typo
PATCH 1/1 edk2-firmware: Fix configure sed typo
From: Andrei Gherzan <[email protected]>
The configure sed operation will not behave as expected because '*' match misses a preceeding '.'.
--- meta-arm/recipes-bsp/uefi/edk2-firmware.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arm/recipes-bsp/uefi/edk2-firmware.inc +1 -1
@@ -81,7 +81,7 @@ export CLANG38_ARM_PREFIX = "${TARGET_PREFIX}" TOOLCHAIN:arm = "gcc" do_configure:prepend() { - sed -i -e "s#-target ${HOST_ARCH}-linux-gnu*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.template + sed -i -e "s#-target ${HOST_ARCH}-linux-gnu.*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.template } do_compile() {
Signature · 1 line
2.25.1
meta-arm/recipes-bsp/uefi/edk2-firmware.inc export CLANG38_ARM_PREFIX = "${TARGET_PREFIX}" · line 84
Quoted 2 lines · Andrei Gherzan via lists.yoctoproject.org
meta-arm/recipes-bsp/uefi/edk2-firmware.inc +1
-1- sed -i -e "s#-target ${HOST_ARCH}-linux-gnu*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.template + sed -i -e "s#-target ${HOST_ARCH}-linux-gnu.*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.template
Did this break something for you, or is this a line that can actually be removed?
Ross
Hi,
Quoted 7 lines · Ross Burton
meta-arm/recipes-bsp/uefi/edk2-firmware.inc export CLANG38_ARM_PREFIX = "${TARGET_PREFIX}" · line 84
Quoted 2 lines · Andrei Gherzan via lists.yoctoproject.org
meta-arm/recipes-bsp/uefi/edk2-firmware.inc +1
-1- sed -i -e "s#-target ${HOST_ARCH}-linux-gnu*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.template + sed -i -e "s#-target ${HOST_ARCH}-linux-gnu.*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.templateDid this break something for you, or is this a line that can actually be removed?
It is definitely still needed. The template includes hardcoded values. It was breaking for me for arm EFI support.
Andrei
Jon Mason
AppliedQuoted 2 lines · Andrei Gherzan
The configure sed operation will not behave as expected because '*' match misses a preceeding '.'.
Applied, thanks!
[1/1] edk2-firmware: Fix configure sed typo
commit: fde0575aeac3b86102d521a55f4a26e6afa623fd
Best regards,
Signature · 1 line
Jon Mason <[email protected]>
Quoted 5 lines · Jon Mason
Quoted 2 lines · Andrei Gherzan
The configure sed operation will not behave as expected because '*' match misses a preceeding '.'.
Applied, thanks!
Awesome. Thanks.
Andrei