Skip to content
Snippets Groups Projects
Verified Commit d3a9f9d8 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>
parent a89a4e4f
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !250. Comments created here will be created in the context of that merge request.
# 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