1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-08 17:19:39 +00:00

arm/edk2-firmware: set a default invalid COMPATIBLE_MACHINE

Building edk2-firmware needs explicit configuration for the target
machine, so set an invalid COMPATIBLE_MACHINE to stop edk2-firmware
building for, example, qemumips.

sbsa-acs is an application, so unset COMPATIBLE_MACHINE in that recipe
as it will work on all aarch64 targets.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2021-12-01 14:57:28 +00:00
committed by Jon Mason
parent 282de87aff
commit 6c5086872a
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -22,6 +22,9 @@ SRC_URI = "\
SRCREV_FORMAT = "edk2_edk2-platforms" SRCREV_FORMAT = "edk2_edk2-platforms"
UPSTREAM_CHECK_GITTAGREGEX = "^edk2-stable(?P<pver>\d+)$" UPSTREAM_CHECK_GITTAGREGEX = "^edk2-stable(?P<pver>\d+)$"
COMPATIBLE_MACHINE ?= "invalid"
PACKAGE_ARCH = "${MACHINE_ARCH}"
EDK2_BUILD_RELEASE = "" EDK2_BUILD_RELEASE = ""
EDK2_PLATFORM = "unset" EDK2_PLATFORM = "unset"
# build --platform # build --platform
@@ -50,8 +53,6 @@ inherit deploy
S = "${WORKDIR}/edk2" S = "${WORKDIR}/edk2"
B = "${WORKDIR}/build" B = "${WORKDIR}/build"
PACKAGE_ARCH = "${MACHINE_ARCH}"
LDFLAGS[unexport] = "1" LDFLAGS[unexport] = "1"
do_configure[cleandirs] += "${B}" do_configure[cleandirs] += "${B}"
@@ -13,7 +13,9 @@ SRC_URI += "git://github.com/ARM-software/sbsa-acs;destsuffix=edk2/ShellPkg/Appl
SRCREV_acs = "1b3a37214fe6809e07e471f79d1ef856461bc803" SRCREV_acs = "1b3a37214fe6809e07e471f79d1ef856461bc803"
SRCREV_libc = "61687168fe02ac4d933a36c9145fdd242ac424d1" SRCREV_libc = "61687168fe02ac4d933a36c9145fdd242ac424d1"
COMPATIBLE_MACHINE = ""
COMPATIBLE_HOST = "aarch64.*-linux" COMPATIBLE_HOST = "aarch64.*-linux"
EDK2_PLATFORM = "Shell" EDK2_PLATFORM = "Shell"
EDK2_PLATFORM_DSC = "ShellPkg/ShellPkg.dsc" EDK2_PLATFORM_DSC = "ShellPkg/ShellPkg.dsc"
EDK2_EXTRA_BUILD = "--module ShellPkg/Application/sbsa-acs/uefi_app/SbsaAvs.inf" EDK2_EXTRA_BUILD = "--module ShellPkg/Application/sbsa-acs/uefi_app/SbsaAvs.inf"