diff options
author | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2023-05-01 18:14:59 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@foundries.io> | 2023-05-02 17:30:14 +0300 |
commit | c4288a04f82cea6763f12448e87d95e5c0364cf7 (patch) | |
tree | 1102b21395908b4427ca053a93a27f12ded53729 /recipes-security/optee-imx/optee-os-fslc-imx.inc | |
parent | c112655d9b4b4ca79a14237c658a9fec7db325c0 (diff) | |
download | meta-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.inc | 26 |
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 @@ | |||
1 | require optee-os-fslc.inc | ||
2 | |||
3 | SRC_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'. | ||
6 | PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}" | ||
7 | PLATFORM_FLAVOR:imx6qdlsabresd = "mx6qsabresd" | ||
8 | PLATFORM_FLAVOR:imx6qdlsabreauto = "mx6qsabreauto" | ||
9 | PLATFORM_FLAVOR:imx6qpdlsolox = "mx6qsabresd" | ||
10 | PLATFORM_FLAVOR:mx6ul-nxp-bsp = "mx6ulevk" | ||
11 | PLATFORM_FLAVOR:mx6ull-nxp-bsp = "mx6ullevk" | ||
12 | PLATFORM_FLAVOR:mx6ulz-nxp-bsp = "mx6ulzevk" | ||
13 | PLATFORM_FLAVOR:mx8mq-nxp-bsp = "mx8mqevk" | ||
14 | PLATFORM_FLAVOR:mx8mm-nxp-bsp = "mx8mmevk" | ||
15 | PLATFORM_FLAVOR:mx8mn-nxp-bsp = "mx8mnevk" | ||
16 | PLATFORM_FLAVOR:mx8mnul-nxp-bsp = "mx8mnevk" | ||
17 | PLATFORM_FLAVOR:mx8mp-nxp-bsp = "mx8mpevk" | ||
18 | PLATFORM_FLAVOR:mx8mpul-nxp-bsp = "mx8mpevk" | ||
19 | PLATFORM_FLAVOR:mx8qm-nxp-bsp = "mx8qmmek" | ||
20 | PLATFORM_FLAVOR:mx8qxp-nxp-bsp = "mx8qxpmek" | ||
21 | PLATFORM_FLAVOR:mx8dx-nxp-bsp = "mx8dxmek" | ||
22 | PLATFORM_FLAVOR:mx8dxl-nxp-bsp = "mx8dxlevk" | ||
23 | PLATFORM_FLAVOR:mx8ulp-nxp-bsp = "mx8ulpevk" | ||
24 | PLATFORM_FLAVOR:mx93-nxp-bsp = "mx93evk" | ||
25 | |||
26 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||