freescale-layer: optee-client: sync with meta-freescale
The 4.2.0.imx recipe has been upstreamed, so merge our 4.0.0.imx and 4.2.0.imx recipes into a single .bbappend file. Keep our systemd service fix https://onedigi.atlassian.net/browse/DEL-9011 https://onedigi.atlassian.net/browse/DEL-9081 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
63ac1e3ad3
commit
70318e2d21
|
|
@ -1,27 +0,0 @@
|
|||
# Copyright (C) 2023,2024, Digi International Inc.
|
||||
|
||||
#
|
||||
# Reuse meta-freescale's optee-client_3.19.0.imx.bb
|
||||
#
|
||||
require recipes-security/optee-imx/optee-client_3.19.0.imx.bb
|
||||
|
||||
SRC_URI += "${@oe.utils.vartrue('TRUSTFENCE_FILE_BASED_ENCRYPT', 'file://tee-supplicant', '', d)}"
|
||||
SRCBRANCH = "lf-6.1.55_2.2.0"
|
||||
SRCREV = "acb0885c117e73cb6c5c9b1dd9054cb3f93507ee"
|
||||
|
||||
EXTRA_OEMAKE += "PKG_CONFIG=pkg-config CFG_TEE_FS_PARENT_PATH='${localstatedir}/lib/tee'"
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
install -D -p -m0644 ${WORKDIR}/tee-supplicant.service ${D}${systemd_system_unitdir}/tee-supplicant.service
|
||||
sed -i -e s:@sysconfdir@:${sysconfdir}:g \
|
||||
-e s:@sbindir@:${sbindir}:g \
|
||||
${D}${systemd_system_unitdir}/tee-supplicant.service
|
||||
|
||||
if ${@oe.utils.vartrue('TRUSTFENCE_FILE_BASED_ENCRYPT', 'true', 'false',d)}; then
|
||||
install -d ${D}${sysconfdir}/default/
|
||||
install -m 0644 ${WORKDIR}/tee-supplicant ${D}${sysconfdir}/default/tee-supplicant
|
||||
fi
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(ccimx93)"
|
||||
|
|
@ -1,13 +1,7 @@
|
|||
# Copyright (C) 2024, Digi International Inc.
|
||||
|
||||
#
|
||||
# Reuse meta-freescale's optee-client_3.19.0.imx.bb
|
||||
#
|
||||
require recipes-security/optee-imx/optee-client_3.19.0.imx.bb
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
||||
|
||||
SRC_URI += "${@oe.utils.vartrue('TRUSTFENCE_FILE_BASED_ENCRYPT', 'file://tee-supplicant', '', d)}"
|
||||
SRCBRANCH = "lf-6.6.23_2.0.0"
|
||||
SRCREV = "3eac340a781c00ccd61b151b0e9c22a8c6e9f9f0"
|
||||
|
||||
EXTRA_OEMAKE += "PKG_CONFIG=pkg-config CFG_TEE_FS_PARENT_PATH='${localstatedir}/lib/tee'"
|
||||
|
||||
|
|
@ -23,5 +17,3 @@ do_install() {
|
|||
install -m 0644 ${WORKDIR}/tee-supplicant ${D}${sysconfdir}/default/tee-supplicant
|
||||
fi
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(ccimx91)"
|
||||
Loading…
Reference in New Issue