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>
-# Copyright (C) 2017-2020 NXP
+# Copyright (C) 2017-2021 NXP
SUMMARY = "OPTEE Client libs"
HOMEPAGE = "http://www.optee.org/"
S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
-inherit python3native systemd
+inherit python3native systemd features_check
+
+REQUIRED_MACHINE_FEATURES = "optee"
SYSTEMD_SERVICE:${PN} = "tee-supplicant.service"
S = "${WORKDIR}/git"
-inherit deploy python3native autotools
+inherit deploy python3native autotools features_check
+
+REQUIRED_MACHINE_FEATURES = "optee"
# The platform flavor corresponds to the Yocto machine without the leading 'i'.
PLATFORM_FLAVOR = "${@d.getVar('MACHINE')[1:]}"
-# Copyright (C) 2017-2020 NXP
+# Copyright (C) 2017-2021 NXP
SUMMARY = "OPTEE test"
HOMEPAGE = "http://www.optee.org/"
SRCREV = "4d81b964a72e89a62d04187b3f055d8346b383c9"
-inherit python3native
+inherit python3native features_check
+
+REQUIRED_MACHINE_FEATURES = "optee"
OPTEE_ARCH ?= "arm32"
OPTEE_ARCH:armv7a = "arm32"