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-client_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-client_3.15.0.imx.bb')
-rw-r--r-- | recipes-security/optee-imx/optee-client_3.15.0.imx.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-security/optee-imx/optee-client_3.15.0.imx.bb b/recipes-security/optee-imx/optee-client_3.15.0.imx.bb index dcfee307..68c73727 100644 --- a/recipes-security/optee-imx/optee-client_3.15.0.imx.bb +++ b/recipes-security/optee-imx/optee-client_3.15.0.imx.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | 1 | # Copyright (C) 2017-2021 NXP |
2 | 2 | ||
3 | SUMMARY = "OPTEE Client libs" | 3 | SUMMARY = "OPTEE Client libs" |
4 | HOMEPAGE = "http://www.optee.org/" | 4 | HOMEPAGE = "http://www.optee.org/" |
@@ -16,7 +16,9 @@ SRCREV = "182874320395787a389e5b0f7df02b32f3c0a1b0" | |||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | B = "${WORKDIR}/build" | 17 | B = "${WORKDIR}/build" |
18 | 18 | ||
19 | inherit python3native systemd | 19 | inherit python3native systemd features_check |
20 | |||
21 | REQUIRED_MACHINE_FEATURES = "optee" | ||
20 | 22 | ||
21 | SYSTEMD_SERVICE:${PN} = "tee-supplicant.service" | 23 | SYSTEMD_SERVICE:${PN} = "tee-supplicant.service" |
22 | 24 | ||