1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-12 03:10:15 +00:00

arm/hafnium: Select valid platform for hafnium and properly pass to make

'qemu_aarch64' is not a valid hafnium platform. Supported platforms are:
* 'secure_rd_v3'
* 'secure_rd_v3_cfg1'
* 'secure_aem_v8a_fvp_vhe'
* 'aem_v8a_fvp_vhe'
* 'aem_v8a_fvp_vhe_ffa_v1_1'
* 'qemu_aarch64_vhe'
* 'secure_qemu_aarch64'
* 'rpi4'
* 'secure_tc'

Previusly selected 'qemu_aarch64' did not cause error because
it was NOT passed to make. It had no effect.

Within this commit, platform 'secure_qemu_aarch64' is selected
and passed to make.

Signed-off-by: Csaba Szilágyi <csaba.szilagyi@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Csaba Szilágyi
2025-07-30 07:45:48 +00:00
committed by Jon Mason
parent 2e562a39d9
commit 6e934fbbcb

View File

@@ -27,7 +27,7 @@ HAFNIUM_PROJECT ?= "reference"
# Platform must be set for each machine
HAFNIUM_PLATFORM ?= "invalid"
HAFNIUM_PLATFORM:qemuarm64 = "qemu_aarch64"
HAFNIUM_PLATFORM:qemuarm64 = "secure_qemu_aarch64"
# do_deploy will install everything listed in this variable. It is set by
# default to hafnium
@@ -38,6 +38,8 @@ EXTRA_OEMAKE += "PROJECT=${HAFNIUM_PROJECT}"
EXTRA_OEMAKE += "OUT_DIR=${B}"
EXTRA_OEMAKE += "PLATFORM=${HAFNIUM_PLATFORM}"
# Don't use prebuilt binaries for gn and ninja
EXTRA_OEMAKE += "GN=${STAGING_BINDIR_NATIVE}/gn NINJA=${STAGING_BINDIR_NATIVE}/ninja"