optee: Rework include files
PATCH 1/1 optee: Rework include files
Minor rework of the TI include files used to override both SRCREV and other settings in the optee recipes for TI SOC parts. The intent is to make it more clear when we are changing SRCREVs versus changing other items, and allow for sharing the SRCREV changes for optee-os-tadevkit which should track the optee-os SRCREV.
Signed-off-by Ryan Eatmon <[email protected]>
---
...ee-client-ti.inc => optee-client-ti-overrides.inc} | 3 ---
.../optee/optee-client-ti-version.inc | 2 ++
.../optee/optee-client_3.16%.bbappend | 11 ++++++++---
...-examples-ti.inc => optee-examples-ti-version.inc} | 0
.../recipes-security/optee/optee-examples_%.bbappend | 6 +++---
.../optee/optee-os-tadevkit_%.bbappend | 6 +++---
.../{optee-os-ti.inc => optee-os-ti-overrides.inc} | 3 ---
...tee-os-tadevkit-ti.inc => optee-os-ti-version.inc} | 1 -
.../recipes-security/optee/optee-os_3.16%.bbappend | 11 ++++++++---
...{optee-test-ti.inc => optee-test-ti-overrides.inc} | 4 ----
.../recipes-security/optee/optee-test-ti-version.inc | 2 ++
.../recipes-security/optee/optee-test_%.bbappend | 11 ++++++++---
12 files changed, 34 insertions(+), 26 deletions(-)
rename meta-ti-bsp/recipes-security/optee/{optee-client-ti.inc => optee-client-ti-overrides.inc} (51%)
create mode 100644 meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc
rename meta-ti-bsp/recipes-security/optee/{optee-examples-ti.inc => optee-examples-ti-version.inc} (100%)
rename meta-ti-bsp/recipes-security/optee/{optee-os-ti.inc => optee-os-ti-overrides.inc} (96%)
rename meta-ti-bsp/recipes-security/optee/{optee-os-tadevkit-ti.inc => optee-os-ti-version.inc} (98%)
rename meta-ti-bsp/recipes-security/optee/{optee-test-ti.inc => optee-test-ti-overrides.inc} (53%)
create mode 100644 meta-ti-bsp/recipes-security/optee/optee-test-ti-version.incmeta-ti-bsp/recipes-security/optee/optee-client-ti-overrides.inc renamed from meta-ti-bsp/recipes-security/optee/optee-client-ti.inc +0 -3
@@ -1,6 +1,3 @@ -PV = "4.0.0+git${SRCPV}" -SRCREV = "acb0885c117e73cb6c5c9b1dd9054cb3f93507ee" - inherit pkgconfig DEPENDS += "util-linux"
meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc new file +2 -0
@@ -0,0 +1,2 @@ +PV = "4.0.0+git${SRCPV}" +SRCREV = "acb0885c117e73cb6c5c9b1dd9054cb3f93507ee"
meta-ti-bsp/recipes-security/optee/optee-client_3.16%.bbappend +8 -3
@@ -1,4 +1,9 @@ -OPTEE_TI = "" -OPTEE_TI:ti-soc = "${BPN}-ti.inc" +OPTEE_TI_VERSION = "" +OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc" -require ${OPTEE_TI} +require ${OPTEE_TI_VERSION} + +OPTEE_TI_OVERRIDES = "" +OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" + +require ${OPTEE_TI_OVERRIDES}
meta-ti-bsp/recipes-security/optee/optee-examples-ti-version.inc renamed from meta-ti-bsp/recipes-security/optee/optee-examples-ti.inc +0 -0
meta-ti-bsp/recipes-security/optee/optee-examples_%.bbappend +3 -3
@@ -1,4 +1,4 @@ -OPTEE_TI = "" -OPTEE_TI:ti-soc = "${BPN}-ti.inc" +OPTEE_TI_VERSION = "" +OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc" -require ${OPTEE_TI} +require ${OPTEE_TI_VERSION}
meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend +3 -3
@@ -1,4 +1,4 @@ -OPTEE_TI = "" -OPTEE_TI:ti-soc = "${BPN}-ti.inc" +OPTEE_TI_VERSION = "" +OPTEE_TI_VERSION:ti-soc = "optee-os-ti-version.inc" -require ${OPTEE_TI} +require ${OPTEE_TI_VERSION}
meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc renamed from meta-ti-bsp/recipes-security/optee/optee-os-ti.inc +0 -3
@@ -1,6 +1,3 @@ -PV = "4.0.0+git${SRCPV}" -SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6" - # Use TI SECDEV for signing inherit ti-secdev
meta-ti-bsp/recipes-security/optee/optee-os-ti-version.inc renamed from meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti.inc +0 -1
@@ -1,3 +1,2 @@ PV = "4.0.0+git${SRCPV}" SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6" -
meta-ti-bsp/recipes-security/optee/optee-os_3.16%.bbappend +8 -3
@@ -1,4 +1,9 @@ -OPTEE_TI = "" -OPTEE_TI:ti-soc = "${BPN}-ti.inc" +OPTEE_TI_VERSION = "" +OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc" -require ${OPTEE_TI} +require ${OPTEE_TI_VERSION} + +OPTEE_TI_OVERRIDES = "" +OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" + +require ${OPTEE_TI_OVERRIDES}
meta-ti-bsp/recipes-security/optee/optee-test-ti-overrides.inc renamed from meta-ti-bsp/recipes-security/optee/optee-test-ti.inc +0 -4
@@ -1,6 +1,2 @@ -PV = "4.0.0+git${SRCPV}" -SRCREV = "1c3d6be5eaa6174e3dbabf60928d15628e39b994" - EXTRA_OEMAKE:append = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}" DEPENDS:append = " openssl" -
meta-ti-bsp/recipes-security/optee/optee-test-ti-version.inc new file +2 -0
@@ -0,0 +1,2 @@ +PV = "4.0.0+git${SRCPV}" +SRCREV = "1c3d6be5eaa6174e3dbabf60928d15628e39b994"
meta-ti-bsp/recipes-security/optee/optee-test_%.bbappend +8 -3
@@ -1,4 +1,9 @@ -OPTEE_TI = "" -OPTEE_TI:ti-soc = "${BPN}-ti.inc" +OPTEE_TI_VERSION = "" +OPTEE_TI_VERSION:ti-soc = "${BPN}-ti-version.inc" -require ${OPTEE_TI} +require ${OPTEE_TI_VERSION} + +OPTEE_TI_OVERRIDES = "" +OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" + +require ${OPTEE_TI_OVERRIDES}
Signature · 1 line
2.17.1