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]>
---
...ptee-client-ti.inc => optee-client-ti-version.inc} | 0
.../recipes-security/optee/optee-client_%.bbappend | 6 +++---
...-examples-ti.inc => optee-examples-ti-version.inc} | 0
.../recipes-security/optee/optee-examples_%.bbappend | 6 +++---
.../optee/optee-os-tadevkit-ti-overrides.inc | 1 +
.../optee/optee-os-tadevkit_%.bbappend | 11 ++++++++---
.../{optee-os-ti.inc => optee-os-ti-overrides.inc} | 8 --------
...tee-os-tadevkit-ti.inc => optee-os-ti-version.inc} | 2 --
.../recipes-security/optee/optee-os_%.bbappend | 11 ++++++++---
.../{optee-test-ti.inc => optee-test-ti-version.inc} | 0
.../recipes-security/optee/optee-test_%.bbappend | 6 +++---
11 files changed, 26 insertions(+), 25 deletions(-)
rename meta-ti-bsp/recipes-security/optee/{optee-client-ti.inc => optee-client-ti-version.inc} (100%)
rename meta-ti-bsp/recipes-security/optee/{optee-examples-ti.inc => optee-examples-ti-version.inc} (100%)
create mode 100644 meta-ti-bsp/recipes-security/optee/optee-os-tadevkit-ti-overrides.inc
rename meta-ti-bsp/recipes-security/optee/{optee-os-ti.inc => optee-os-ti-overrides.inc} (86%)
rename meta-ti-bsp/recipes-security/optee/{optee-os-tadevkit-ti.inc => optee-os-ti-version.inc} (87%)
rename meta-ti-bsp/recipes-security/optee/{optee-test-ti.inc => optee-test-ti-version.inc} (100%)meta-ti-bsp/recipes-security/optee/optee-client-ti-version.inc renamed from meta-ti-bsp/recipes-security/optee/optee-client-ti.inc +0 -0
meta-ti-bsp/recipes-security/optee/optee-client_%.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-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-ti-overrides.inc new file +1 -0
@@ -0,0 +1 @@ +EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_%.bbappend +8 -3
@@ -1,4 +1,9 @@ -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} + +OPTEE_TI_OVERRIDES = "" +OPTEE_TI_OVERRIDES:ti-soc = "${BPN}-ti-overrides.inc" + +require ${OPTEE_TI_OVERRIDES}
meta-ti-bsp/recipes-security/optee/optee-os-ti-overrides.inc renamed from meta-ti-bsp/recipes-security/optee/optee-os-ti.inc +0 -8
@@ -1,11 +1,3 @@ -PV = "4.0.0+git${SRCPV}" -SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6" - -# Fixes for pointing to 4.0.0 before upstream meta-arm -FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os-4.0.0:" -SRC_URI:remove = "file://0002-core-Define-section-attributes-for-clang.patch" -SRC_URI:append = " file://0002ti-core-Define-section-attributes-for-clang.patch" - # 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 -2
@@ -5,5 +5,3 @@ SRCREV = "2a5b1d1232f582056184367fb58a425ac7478ec6" FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os-4.0.0:" SRC_URI:remove = "file://0002-core-Define-section-attributes-for-clang.patch" SRC_URI:append = " file://0002ti-core-Define-section-attributes-for-clang.patch" - -EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
meta-ti-bsp/recipes-security/optee/optee-os_%.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-version.inc renamed from meta-ti-bsp/recipes-security/optee/optee-test-ti.inc +0 -0
meta-ti-bsp/recipes-security/optee/optee-test_%.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}
Signature · 1 line
2.17.1