1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-06 02:40:18 +00:00

arm/trusted-services: limit the ts compatible machines

World builds are trying to build trusted services, which has a
dependency on meta-python.  To avoid having to add a layer dependency
for meta-arm on meta-python, limit the compatible machines to the ones
using it (which already have a meta-python dependency).

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason
2022-11-17 11:59:41 -05:00
parent a68a2a206e
commit 7b4c17632d
12 changed files with 27 additions and 7 deletions
@@ -0,0 +1 @@
COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
@@ -1,5 +1,5 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-corstone1000.inc"
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
@@ -1,4 +1,6 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/corstone1000:"
FILESEXTRAPATHS:prepend:corstone1000 := "${THISDIR}/corstone1000:"
COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
SRC_URI:append:corstone1000 = " \
file://0001-Add-openamp-to-SE-proxy-deployment.patch;patchdir=../trusted-services \
@@ -0,0 +1,4 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
@@ -1,6 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/corstone1000/${PN}:"
FILESEXTRAPATHS:prepend:corstone1000 := "${THISDIR}/corstone1000/${PN}:"
COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
SRC_URI:append:corstone1000 = " \
file://0001-newlib-memcpy-remove-optimized-version.patch;patchdir=../newlib \
"
@@ -1,6 +1,6 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/corstone1000/psa-apitest:"
include ts-corstone1000.inc
include ts-arm-platforms.inc
SRC_URI:append:corstone1000 = " \
file://0001-corstone1000-port-crypto-config.patch;patchdir=../psatest \
@@ -0,0 +1,4 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
@@ -1,5 +1,5 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-corstone1000.inc"
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
@@ -1,5 +1,5 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-corstone1000.inc"
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
@@ -0,0 +1,4 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
@@ -5,6 +5,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
COMPATIBLE_HOST = "aarch64.*-linux"
COMPATIBLE_MACHINE ?= "invalid"
COMPATIBLE_MACHINE:qemuarm64-secureboot = "qemuarm64-secureboot"
PACKAGES = "${PN} ${PN}-psa"
@@ -6,6 +6,8 @@ LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib"
inherit python3native cmake
COMPATIBLE_HOST = "aarch64.*-linux"
COMPATIBLE_MACHINE ?= "invalid"
COMPATIBLE_MACHINE:qemuarm64-secureboot = "qemuarm64-secureboot"
require trusted-services-src.inc