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

edk2-firmware: Fix 32 builds on ArmVirtQemu


Pass the right target prefix for arm build on both gcc and clang.

Also, add a compatibility symlink path for builds that use arch in the
directory output.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: default avatarLuca Seritan <luca.seritan@huawei.com>
parent e6c07ab0
No related branches found
No related tags found
1 merge request!250Add support for qemuarm/64 machines with EFI
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
export GCC5_ARM_PREFIX = "${TARGET_PREFIX}"
export CLANG38_ARM_PREFIX = "${TARGET_PREFIX}"
do_install:prepend() {
# Some platforms use an ARCH suffix.
if [ ! -e "${B}/Build/${EDK2_PLATFORM}" ]; then
ln -s ${EDK2_PLATFORM}-${EDK2_ARCH} ${B}/Build/${EDK2_PLATFORM}
fi
}
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