mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-08 05:09:56 +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:
@@ -22,6 +22,9 @@ SRC_URI = "\
|
||||
SRCREV_FORMAT = "edk2_edk2-platforms"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "^edk2-stable(?P<pver>\d+)$"
|
||||
|
||||
COMPATIBLE_MACHINE ?= "invalid"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
EDK2_BUILD_RELEASE = ""
|
||||
EDK2_PLATFORM = "unset"
|
||||
# build --platform
|
||||
@@ -50,8 +53,6 @@ inherit deploy
|
||||
S = "${WORKDIR}/edk2"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
LDFLAGS[unexport] = "1"
|
||||
|
||||
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_libc = "61687168fe02ac4d933a36c9145fdd242ac424d1"
|
||||
|
||||
COMPATIBLE_MACHINE = ""
|
||||
COMPATIBLE_HOST = "aarch64.*-linux"
|
||||
|
||||
EDK2_PLATFORM = "Shell"
|
||||
EDK2_PLATFORM_DSC = "ShellPkg/ShellPkg.dsc"
|
||||
EDK2_EXTRA_BUILD = "--module ShellPkg/Application/sbsa-acs/uefi_app/SbsaAvs.inf"
|
||||
|
||||
Reference in New Issue
Block a user