mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
optee: redo bbappends for yocto compliance and flexibility
Like with master, move the actual TI-specific changes into corresponding include files that are only activated for ti-soc derived platforms. Since include files are already guarded and only activated for ti-soc platforms, no need to use such override again. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
579671a75e
commit
1743b01019
7
meta-ti-bsp/recipes-security/optee/optee-client-ti.inc
Normal file
7
meta-ti-bsp/recipes-security/optee/optee-client-ti.inc
Normal file
@@ -0,0 +1,7 @@
|
||||
PV = "3.20.0+git${SRCPV}"
|
||||
SRCREV = "dd2d39b49975d2ada7870fe2b7f5a84d0d3860dc"
|
||||
|
||||
inherit pkgconfig
|
||||
DEPENDS += "util-linux"
|
||||
|
||||
EXTRA_OEMAKE += "PKG_CONFIG=pkg-config"
|
||||
@@ -1,7 +1,4 @@
|
||||
PV:ti-soc = "3.20.0+git${SRCPV}"
|
||||
SRCREV:ti-soc = "dd2d39b49975d2ada7870fe2b7f5a84d0d3860dc"
|
||||
OPTEE_TI = ""
|
||||
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
|
||||
|
||||
inherit pkgconfig
|
||||
DEPENDS:append:ti-soc = " util-linux"
|
||||
|
||||
EXTRA_OEMAKE:append:ti-soc = " PKG_CONFIG=pkg-config"
|
||||
require ${OPTEE_TI}
|
||||
|
||||
3
meta-ti-bsp/recipes-security/optee/optee-examples-ti.inc
Normal file
3
meta-ti-bsp/recipes-security/optee/optee-examples-ti.inc
Normal file
@@ -0,0 +1,3 @@
|
||||
PV = "3.20.0+git${SRCPV}"
|
||||
SRCREV = "a98d01e1b9168eaed96bcd0bac0df67c44a81081"
|
||||
SRC_URI:remove = "file://0001-Makefile-Fix-non-portable-sh-check-for-plugins.patch"
|
||||
@@ -1,3 +1,4 @@
|
||||
PV:ti-soc = "3.20.0+git${SRCPV}"
|
||||
SRCREV:ti-soc = "a98d01e1b9168eaed96bcd0bac0df67c44a81081"
|
||||
SRC_URI = "git://github.com/linaro-swg/optee_examples.git;branch=master;protocol=https"
|
||||
OPTEE_TI = ""
|
||||
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
|
||||
|
||||
require ${OPTEE_TI}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
PV = "3.20.0+git${SRCPV}"
|
||||
SRCREV = "8e74d47616a20eaa23ca692f4bbbf917a236ed94"
|
||||
@@ -1,2 +1,4 @@
|
||||
PV:ti-soc = "3.20.0+git${SRCPV}"
|
||||
SRCREV:ti-soc = "8e74d47616a20eaa23ca692f4bbbf917a236ed94"
|
||||
OPTEE_TI = ""
|
||||
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
|
||||
|
||||
require ${OPTEE_TI}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
PV = "3.20.0+git${SRCPV}"
|
||||
SRCREV = "8e74d47616a20eaa23ca692f4bbbf917a236ed94"
|
||||
|
||||
# Use TI SECDEV for signing
|
||||
inherit ti-secdev
|
||||
|
||||
@@ -82,7 +85,7 @@ do_compile:append:j784s4-hs-evm() {
|
||||
optee_sign_k3hs
|
||||
}
|
||||
|
||||
do_install:append:ti-soc() {
|
||||
do_install:append() {
|
||||
install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true
|
||||
install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true
|
||||
install -m 644 ${B}/bl32.bin.unsigned ${D}${nonarch_base_libdir}/firmware/ || true
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
OPTEE_TI = ""
|
||||
OPTEE_TI:ti-soc = "optee-os-ti.inc"
|
||||
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
|
||||
|
||||
require ${OPTEE_TI}
|
||||
|
||||
PV:ti-soc = "3.20.0+git${SRCPV}"
|
||||
SRCREV:ti-soc = "8e74d47616a20eaa23ca692f4bbbf917a236ed94"
|
||||
|
||||
2
meta-ti-bsp/recipes-security/optee/optee-test-ti.inc
Normal file
2
meta-ti-bsp/recipes-security/optee/optee-test-ti.inc
Normal file
@@ -0,0 +1,2 @@
|
||||
PV = "3.19.0+git${SRCPV}"
|
||||
SRCREV = "ab9863cc187724e54c032b738c28bd6e9460a4db"
|
||||
@@ -1,3 +1,4 @@
|
||||
PV:ti-soc = "3.19.0+git${SRCPV}"
|
||||
SRCREV:ti-soc = "ab9863cc187724e54c032b738c28bd6e9460a4db"
|
||||
SRC_URI:ti-soc = "git://github.com/OP-TEE/optee_test.git;branch=master;protocol=https"
|
||||
OPTEE_TI = ""
|
||||
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
|
||||
|
||||
require ${OPTEE_TI}
|
||||
|
||||
Reference in New Issue
Block a user