itest: Add support for 8DXL [LF-12751]

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit is contained in:
Tom Hochstein 2024-10-08 08:00:35 -05:00
parent d8ccdee59c
commit 7afdde2ef8
2 changed files with 12 additions and 5 deletions

View File

@ -1,12 +1,10 @@
# Copyright 2023 NXP
# Copyright 2023-2024 NXP
SUMMARY = "NXP i.MX Itest"
DESCRIPTION = "NXP i.MX Itest"
SECTION = "base"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982"
DEPENDS = "imx-secure-enclave"
SRC_URI = "${ITEST_SRC};branch=${SRCBRANCH}"
ITEST_SRC ?= "git://github.com/nxp-imx/itest.git;protocol=https"
SRCBRANCH = "itest_ele"
@ -16,12 +14,20 @@ S = "${WORKDIR}/git"
inherit cmake
PACKAGECONFIG:mx8dxl-nxp-bsp ??= "ele-seco"
PACKAGECONFIG:mx8ulp-nxp-bsp ??= "ele"
PACKAGECONFIG:mx91-nxp-bsp ??= "ele"
PACKAGECONFIG:mx93-nxp-bsp ??= "ele"
PACKAGECONFIG:mx95-nxp-bsp ??= "ele ele-seco"
PACKAGECONFIG[ele] = "-DELE=1,,imx-secure-enclave"
PACKAGECONFIG[ele-seco] = "-DV2X=1,,imx-secure-enclave-seco"
EXTRA_OECMAKE = " \
-DOPENSSL_PATH="${STAGING_DIR_HOST}/usr" \
-DELE_LIB_PATH="${STAGING_DIR_HOST}/usr" \
-DLIB_PATH="${STAGING_DIR_HOST}${libdir}""
EXTRA_OECMAKE:append:mx95-nxp-bsp = " -DV2X=1"
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx91-nxp-bsp|mx93-nxp-bsp|mx95-nxp-bsp)"
COMPATIBLE_MACHINE = "(mx8dxl-nxp-bsp|mx8ulp-nxp-bsp|mx91-nxp-bsp|mx93-nxp-bsp|mx95-nxp-bsp)"

View File

@ -29,6 +29,7 @@ RDEPENDS_CAAM_CRYPTO_APPS:mx93-nxp-bsp = ""
RDEPENDS_CAAM_CRYPTO_APPS:mx95-nxp-bsp = ""
RDEPENDS_EDGE_LOCK_SECURE_ENCLAVE = ""
RDEPENDS_EDGE_LOCK_SECURE_ENCLAVE:mx8dxl-nxp-bsp = "itest python3-requests"
RDEPENDS_EDGE_LOCK_SECURE_ENCLAVE:mx8ulp-nxp-bsp = "itest python3-requests"
RDEPENDS_EDGE_LOCK_SECURE_ENCLAVE:mx91-nxp-bsp = "itest python3-requests"
RDEPENDS_EDGE_LOCK_SECURE_ENCLAVE:mx93-nxp-bsp = "itest python3-requests"