optee: local fix for stray CFG_MAP_EXT_DT_SECURE=y in meta-arm

Latest update in meta-arm added unconditional CFG_MAP_EXT_DT_SECURE=y
that affects all platforms, but was only needed for qemu. And it also
depends on CFG_DT=y, which is platform-specific. The fix was submitted
upstream[0], overlay it locally until upstream resolves it.

[0] https://patchwork.yoctoproject.org/project/arm/patch/20230613181723.1711212-1-denis@denix.org/

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Denys Dmytriyenko authored and Ryan Eatmon committed 2023-06-14 10:01:45 -05:00
1 parent a0ce9c392f
commit 4c5461c237
3 files changed
+7

No files matched your search

@@ -0,0 +1 @@
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
@@ -0,0 +1,4 @@
OPTEE_TI = ""
OPTEE_TI:ti-soc = "${BPN}-ti.inc"
require ${OPTEE_TI}
@@ -1,6 +1,8 @@
# Use TI SECDEV for signing
inherit ti-secdev
EXTRA_OEMAKE:remove = "CFG_MAP_EXT_DT_SECURE=y"
EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
EXTRA_OEMAKE:append:am62xx = " CFG_WITH_SOFTWARE_PRNG=y CFG_TEE_CORE_LOG_LEVEL=1"