summaryrefslogtreecommitdiffstats
path: root/rules/optee-examples.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2019-02-15 09:58:42 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-02-15 09:58:46 +0100
commit6939a51e49b110539f33b95c339b987f0f8f1825 (patch)
tree1ebe32b9aa90171da9ef31eea060b600f4793829 /rules/optee-examples.make
parent1f5111b3422bc7ac119eb7f606208768dd2fe2de (diff)
downloadptxdist-6939a51e49b110539f33b95c339b987f0f8f1825.tar.gz
ptxdist-6939a51e49b110539f33b95c339b987f0f8f1825.tar.xz
optee: only build if selected in the platformconfigptxdist-2019.02.0
Limiting the packages to ARM is not quite correct. Instead skip them if no OP-TEE platform is defined. This happens when optee is disabled in the platformconfig. This way the packages can be enabled in the ptxconfig but are only built if optee is also enabled in the platformconfig. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/optee-examples.make')
-rw-r--r--rules/optee-examples.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/optee-examples.make b/rules/optee-examples.make
index 63882ffd6..af9edacbb 100644
--- a/rules/optee-examples.make
+++ b/rules/optee-examples.make
@@ -11,7 +11,9 @@
#
# We provide this package
#
-PACKAGES-$(PTXCONF_ARCH_ARM)-$(PTXCONF_OPTEE_EXAMPLES) += optee-examples
+ifdef PTXCONF_OPTEE_PLATFORM
+PACKAGES-$(PTXCONF_OPTEE_EXAMPLES) += optee-examples
+endif
#
# Paths and names