summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-imx
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-security/optee-imx')
-rw-r--r--recipes-security/optee-imx/optee-client_3.10.0.imx.bb16
-rw-r--r--recipes-security/optee-imx/optee-os_3.10.0.imx.bb36
-rw-r--r--recipes-security/optee-imx/optee-test_3.10.0.imx.bb10
3 files changed, 31 insertions, 31 deletions
diff --git a/recipes-security/optee-imx/optee-client_3.10.0.imx.bb b/recipes-security/optee-imx/optee-client_3.10.0.imx.bb
index 58b6b8a4..52bec40b 100644
--- a/recipes-security/optee-imx/optee-client_3.10.0.imx.bb
+++ b/recipes-security/optee-imx/optee-client_3.10.0.imx.bb
@@ -18,11 +18,11 @@ B = "${WORKDIR}/build"
18 18
19inherit python3native systemd 19inherit python3native systemd
20 20
21SYSTEMD_SERVICE_${PN} = "tee-supplicant.service" 21SYSTEMD_SERVICE:${PN} = "tee-supplicant.service"
22 22
23OPTEE_ARCH ?= "arm32" 23OPTEE_ARCH ?= "arm32"
24OPTEE_ARCH_armv7a = "arm32" 24OPTEE_ARCH:armv7a = "arm32"
25OPTEE_ARCH_aarch64 = "arm64" 25OPTEE_ARCH:aarch64 = "arm64"
26 26
27EXTRA_OEMAKE = "ARCH=${OPTEE_ARCH} O=${B}" 27EXTRA_OEMAKE = "ARCH=${OPTEE_ARCH} O=${B}"
28 28
@@ -42,11 +42,11 @@ do_install () {
42} 42}
43 43
44PACKAGES += "tee-supplicant" 44PACKAGES += "tee-supplicant"
45FILES_${PN} += "${libdir}/* ${includedir}/*" 45FILES:${PN} += "${libdir}/* ${includedir}/*"
46FILES_tee-supplicant += "${bindir}/tee-supplicant" 46FILES:tee-supplicant += "${bindir}/tee-supplicant"
47 47
48INSANE_SKIP_${PN} = "ldflags dev-elf" 48INSANE_SKIP:${PN} = "ldflags dev-elf"
49INSANE_SKIP_${PN}-dev = "ldflags dev-elf" 49INSANE_SKIP:${PN}-dev = "ldflags dev-elf"
50INSANE_SKIP_tee-supplicant = "ldflags" 50INSANE_SKIP:tee-supplicant = "ldflags"
51 51
52COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 52COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
diff --git a/recipes-security/optee-imx/optee-os_3.10.0.imx.bb b/recipes-security/optee-imx/optee-os_3.10.0.imx.bb
index 712b1aa6..dc0f1731 100644
--- a/recipes-security/optee-imx/optee-os_3.10.0.imx.bb
+++ b/recipes-security/optee-imx/optee-os_3.10.0.imx.bb
@@ -22,23 +22,23 @@ inherit deploy python3native autotools
22 22
23# The platform flavor corresponds to the Yocto machine without the leading 'i'. 23# The platform flavor corresponds to the Yocto machine without the leading 'i'.
24PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}" 24PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}"
25PLATFORM_FLAVOR_imx6qpdlsolox = "mx6qsabresd" 25PLATFORM_FLAVOR:imx6qpdlsolox = "mx6qsabresd"
26PLATFORM_FLAVOR_imx6ul7d = "mx6ulevk" 26PLATFORM_FLAVOR:imx6ul7d = "mx6ulevk"
27PLATFORM_FLAVOR_imx6ull14x14evk = "mx6ullevk" 27PLATFORM_FLAVOR:imx6ull14x14evk = "mx6ullevk"
28PLATFORM_FLAVOR_imx6ull9x9evk = "mx6ullevk" 28PLATFORM_FLAVOR:imx6ull9x9evk = "mx6ullevk"
29PLATFORM_FLAVOR_imx6ulz-14x14-evk = "mx6ulzevk" 29PLATFORM_FLAVOR:imx6ulz-14x14-evk = "mx6ulzevk"
30PLATFORM_FLAVOR_mx8mq = "mx8mqevk" 30PLATFORM_FLAVOR:mx8mq = "mx8mqevk"
31PLATFORM_FLAVOR_mx8mm = "mx8mmevk" 31PLATFORM_FLAVOR:mx8mm = "mx8mmevk"
32PLATFORM_FLAVOR_mx8mn = "mx8mnevk" 32PLATFORM_FLAVOR:mx8mn = "mx8mnevk"
33PLATFORM_FLAVOR_mx8mp = "mx8mpevk" 33PLATFORM_FLAVOR:mx8mp = "mx8mpevk"
34PLATFORM_FLAVOR_mx8qm = "mx8qmmek" 34PLATFORM_FLAVOR:mx8qm = "mx8qmmek"
35PLATFORM_FLAVOR_mx8qxp = "mx8qxpmek" 35PLATFORM_FLAVOR:mx8qxp = "mx8qxpmek"
36PLATFORM_FLAVOR_mx8dx = "mx8dxmek" 36PLATFORM_FLAVOR:mx8dx = "mx8dxmek"
37PLATFORM_FLAVOR_mx8dxl = "mx8dxlevk" 37PLATFORM_FLAVOR:mx8dxl = "mx8dxlevk"
38 38
39OPTEE_ARCH ?= "arm32" 39OPTEE_ARCH ?= "arm32"
40OPTEE_ARCH_armv7a = "arm32" 40OPTEE_ARCH:armv7a = "arm32"
41OPTEE_ARCH_aarch64 = "arm64" 41OPTEE_ARCH:aarch64 = "arm64"
42 42
43# Optee-os can be built for 32 bits and 64 bits at the same time 43# Optee-os can be built for 32 bits and 64 bits at the same time
44# as long as the compilers are correctly defined. 44# as long as the compilers are correctly defined.
@@ -86,9 +86,9 @@ do_install () {
86addtask deploy after do_compile before do_install 86addtask deploy after do_compile before do_install
87 87
88 88
89FILES_${PN} = "${nonarch_base_libdir}/firmware/" 89FILES:${PN} = "${nonarch_base_libdir}/firmware/"
90FILES_${PN}-staticdev = "/usr/include/optee/" 90FILES:${PN}-staticdev = "/usr/include/optee/"
91RDEPENDS_${PN}-dev += "${PN}-staticdev" 91RDEPENDS:${PN}-dev += "${PN}-staticdev"
92 92
93PACKAGE_ARCH = "${MACHINE_ARCH}" 93PACKAGE_ARCH = "${MACHINE_ARCH}"
94COMPATIBLE_MACHINE = "(imx|imx-boot-container)" 94COMPATIBLE_MACHINE = "(imx|imx-boot-container)"
diff --git a/recipes-security/optee-imx/optee-test_3.10.0.imx.bb b/recipes-security/optee-imx/optee-test_3.10.0.imx.bb
index a8a1b245..76e04f04 100644
--- a/recipes-security/optee-imx/optee-test_3.10.0.imx.bb
+++ b/recipes-security/optee-imx/optee-test_3.10.0.imx.bb
@@ -20,11 +20,11 @@ SRCREV = "0c998f42a3fb87b9f2929955cf4b0116cc515091"
20inherit python3native 20inherit python3native
21 21
22OPTEE_ARCH ?= "arm32" 22OPTEE_ARCH ?= "arm32"
23OPTEE_ARCH_armv7a = "arm32" 23OPTEE_ARCH:armv7a = "arm32"
24OPTEE_ARCH_aarch64 = "arm64" 24OPTEE_ARCH:aarch64 = "arm64"
25 25
26TA_DEV_KIT_DIR_arm = "${STAGING_INCDIR}/optee/export-user_ta_arm32/" 26TA_DEV_KIT_DIR:arm = "${STAGING_INCDIR}/optee/export-user_ta:arm32/"
27TA_DEV_KIT_DIR_aarch64 = "${STAGING_INCDIR}/optee/export-user_ta_arm64/" 27TA_DEV_KIT_DIR:aarch64 = "${STAGING_INCDIR}/optee/export-user_ta:arm64/"
28 28
29CFLAGS += "--sysroot=${STAGING_DIR_HOST}" 29CFLAGS += "--sysroot=${STAGING_DIR_HOST}"
30CXXFLAGS += "--sysroot=${STAGING_DIR_HOST}" 30CXXFLAGS += "--sysroot=${STAGING_DIR_HOST}"
@@ -58,6 +58,6 @@ do_install () {
58 done 58 done
59} 59}
60 60
61FILES_${PN} = "/usr/bin/ /lib*/optee_armtz/" 61FILES:${PN} = "/usr/bin/ /lib*/optee_armtz/"
62 62
63COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 63COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"