Skip to content
Snippets Groups Projects
Commit cd78336a authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

edk2-firmware: Workaround sed typo in upstream


Upstream breaks the sed operation because '*' match misses a preceeding
'.'.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: default avatarLuca Seritan <luca.seritan@huawei.com>
parent 38405346
No related branches found
No related tags found
1 merge request!250Add support for qemuarm/64 machines with EFI
...@@ -7,6 +7,10 @@ export CLANG38_ARM_PREFIX = "${TARGET_PREFIX}" ...@@ -7,6 +7,10 @@ export CLANG38_ARM_PREFIX = "${TARGET_PREFIX}"
EDK2_BUILD_RELEASE:toolchain-clang = "1" EDK2_BUILD_RELEASE:toolchain-clang = "1"
do_configure:prepend() {
sed -i -e "s#-target ${HOST_ARCH}-linux-gnu.*#-target ${HOST_SYS}#" ${S}/BaseTools/Conf/tools_def.template
}
do_install:prepend() { do_install:prepend() {
# Some platforms use an ARCH suffix. # Some platforms use an ARCH suffix.
if [ ! -e "${B}/Build/${EDK2_PLATFORM}" ]; then if [ ! -e "${B}/Build/${EDK2_PLATFORM}" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment