1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-30 12:30:14 +00:00

arm-bsp/trusted-firmware-a: move machine customisations to the versioned appends

By having MACHINE_TFA_REQUIRE set and required in both the wildcard
bbappend and the versioned append, the same file can get included twice
which results in a warning from bitbake:

WARNING: trusted-firmware-a_2.3.bb: Duplicate inclusion for
trusted-firmware-a-juno.inc in trusted-firmware-a_2.3.bbappend

Move the customisations from the wildcard bbappend to the specific
version of trusted-firmware-a that is used for that platform to be clear
about what platforms are supported and remove this warning.

Change-Id: Ib220aedbf94fa11d21ddc6c5f9ac2c5de5c66b7a
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
2020-07-14 12:03:45 +01:00
committed by Jon Mason
parent 8b7ec0affa
commit 5b2d456093
3 changed files with 9 additions and 9 deletions
@@ -1,11 +1,3 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files/:" FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
# Machine specific TFAs # Don't put machine customisation in here, use a versioned append.
MACHINE_TFA_REQUIRE ?= ""
MACHINE_TFA_REQUIRE_foundation-armv8 = "trusted-firmware-a-fvp.inc"
MACHINE_TFA_REQUIRE_fvp-base = "trusted-firmware-a-fvp.inc"
MACHINE_TFA_REQUIRE_juno = "trusted-firmware-a-juno.inc"
require ${MACHINE_TFA_REQUIRE}
@@ -0,0 +1,6 @@
# Machine specific TFAs
MACHINE_TFA_REQUIRE ?= ""
MACHINE_TFA_REQUIRE_juno = "trusted-firmware-a-juno.inc"
require ${MACHINE_TFA_REQUIRE}
@@ -3,5 +3,7 @@
MACHINE_TFA_REQUIRE ?= "" MACHINE_TFA_REQUIRE ?= ""
MACHINE_TFA_REQUIRE_tc0 = "trusted-firmware-a-tc0.inc" MACHINE_TFA_REQUIRE_tc0 = "trusted-firmware-a-tc0.inc"
MACHINE_TFA_REQUIRE_a5ds = "trusted-firmware-a-a5ds.inc" MACHINE_TFA_REQUIRE_a5ds = "trusted-firmware-a-a5ds.inc"
MACHINE_TFA_REQUIRE_foundation-armv8 = "trusted-firmware-a-fvp.inc"
MACHINE_TFA_REQUIRE_fvp-base = "trusted-firmware-a-fvp.inc"
require ${MACHINE_TFA_REQUIRE} require ${MACHINE_TFA_REQUIRE}