diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2022-02-16 12:40:17 -0600 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2022-02-24 13:32:53 -0600 |
commit | 9d374c6460a3f7b6286f795fc47ec578d2b68912 (patch) | |
tree | 297b0f3897be9bbf5d94362487ba672ee5dd3b5a /recipes-security/optee-imx/optee-os_3.15.0.imx.bb | |
parent | d38cf8527d87673d2df0b91dea690aee354aebaa (diff) | |
download | meta-freescale-9d374c6460a3f7b6286f795fc47ec578d2b68912.tar.gz |
optee-*: For i.MX, require machine feature optee
The optee software should be enabled by the machine feature. If the
machine feature is not there, but optee is built anyway, then something
is wrong and the build should fail.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-security/optee-imx/optee-os_3.15.0.imx.bb')
-rw-r--r-- | recipes-security/optee-imx/optee-os_3.15.0.imx.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-security/optee-imx/optee-os_3.15.0.imx.bb b/recipes-security/optee-imx/optee-os_3.15.0.imx.bb index 58b238a7..ffa3cc85 100644 --- a/recipes-security/optee-imx/optee-os_3.15.0.imx.bb +++ b/recipes-security/optee-imx/optee-os_3.15.0.imx.bb | |||
@@ -17,7 +17,9 @@ SRCREV = "c939619d64dea014ad1b8382356eee4d1cbfbb22" | |||
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | 19 | ||
20 | inherit deploy python3native autotools | 20 | inherit deploy python3native autotools features_check |
21 | |||
22 | REQUIRED_MACHINE_FEATURES = "optee" | ||
21 | 23 | ||
22 | # The platform flavor corresponds to the Yocto machine without the leading 'i'. | 24 | # The platform flavor corresponds to the Yocto machine without the leading 'i'. |
23 | PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}" | 25 | PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}" |