summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-imx/optee-os-fslc-imx.inc
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>2023-05-01 18:14:59 +0300
committerOleksandr Suvorov <oleksandr.suvorov@foundries.io>2023-05-02 17:30:14 +0300
commitc4288a04f82cea6763f12448e87d95e5c0364cf7 (patch)
tree1102b21395908b4427ca053a93a27f12ded53729 /recipes-security/optee-imx/optee-os-fslc-imx.inc
parentc112655d9b4b4ca79a14237c658a9fec7db325c0 (diff)
downloadmeta-freescale-c4288a04f82cea6763f12448e87d95e5c0364cf7.tar.gz
optee: optimize optee-os and optee-test recipes to reuse code
Add include files for optee-os and optee-test. The include files feature requirements that are specific to optee/optee-os/optee-test projects and i.MX platforms. Recipe files with version number feature the git branch, commit hash and optionally repo URL/patch set. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Diffstat (limited to 'recipes-security/optee-imx/optee-os-fslc-imx.inc')
-rw-r--r--recipes-security/optee-imx/optee-os-fslc-imx.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-security/optee-imx/optee-os-fslc-imx.inc b/recipes-security/optee-imx/optee-os-fslc-imx.inc
new file mode 100644
index 000000000..6b72e8277
--- /dev/null
+++ b/recipes-security/optee-imx/optee-os-fslc-imx.inc
@@ -0,0 +1,26 @@
1require optee-os-fslc.inc
2
3SRC_URI = "git://github.com/nxp-imx/imx-optee-os.git;protocol=https;branch=${SRCBRANCH}"
4
5# The platform flavor corresponds to the Yocto machine without the leading 'i'.
6PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}"
7PLATFORM_FLAVOR:imx6qdlsabresd = "mx6qsabresd"
8PLATFORM_FLAVOR:imx6qdlsabreauto = "mx6qsabreauto"
9PLATFORM_FLAVOR:imx6qpdlsolox = "mx6qsabresd"
10PLATFORM_FLAVOR:mx6ul-nxp-bsp = "mx6ulevk"
11PLATFORM_FLAVOR:mx6ull-nxp-bsp = "mx6ullevk"
12PLATFORM_FLAVOR:mx6ulz-nxp-bsp = "mx6ulzevk"
13PLATFORM_FLAVOR:mx8mq-nxp-bsp = "mx8mqevk"
14PLATFORM_FLAVOR:mx8mm-nxp-bsp = "mx8mmevk"
15PLATFORM_FLAVOR:mx8mn-nxp-bsp = "mx8mnevk"
16PLATFORM_FLAVOR:mx8mnul-nxp-bsp = "mx8mnevk"
17PLATFORM_FLAVOR:mx8mp-nxp-bsp = "mx8mpevk"
18PLATFORM_FLAVOR:mx8mpul-nxp-bsp = "mx8mpevk"
19PLATFORM_FLAVOR:mx8qm-nxp-bsp = "mx8qmmek"
20PLATFORM_FLAVOR:mx8qxp-nxp-bsp = "mx8qxpmek"
21PLATFORM_FLAVOR:mx8dx-nxp-bsp = "mx8dxmek"
22PLATFORM_FLAVOR:mx8dxl-nxp-bsp = "mx8dxlevk"
23PLATFORM_FLAVOR:mx8ulp-nxp-bsp = "mx8ulpevk"
24PLATFORM_FLAVOR:mx93-nxp-bsp = "mx93evk"
25
26COMPATIBLE_MACHINE = "(imx-nxp-bsp)"