[meta-freescale] [meta-freescale PATCH v2 2/2] qoriq-base.inc: Use 'fsl-dynamic-packagearch' class
Otavio Salvador
otavio at ossystems.com.br
Wed Sep 21 04:16:04 PDT 2016
This ensures PACKAGE_ARCH has a better default.
- use MACHINE_ARCH for every package depending on virtual/kernel
- use MACHINE_SOCARCH for every package depending on
cryptodev-qoriq-linux, cryptodev-qoriq-module, cryptodev-qoriq-test
or openssl-qoriq;
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
Changes in v2: None
conf/machine/include/qoriq-base.inc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc
index 1786b00..7360a75 100644
--- a/conf/machine/include/qoriq-base.inc
+++ b/conf/machine/include/qoriq-base.inc
@@ -17,3 +17,12 @@ MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf udev-rules-qoriq kernel-modules"
EXTRA_IMAGEDEPENDS += "u-boot cst-native"
MACHINEOVERRIDES =. "qoriq:"
+
+# Sub-architecture support
+MACHINE_SOCARCH_SUFFIX ?= ""
+MACHINE_SOCARCH_SUFFIX_qoriq = "-qoriq"
+
+MACHINE_ARCH_FILTER = "virtual/kernel"
+MACHINE_SOCARCH_FILTER_append_qoriq = " cryptodev-qoriq-linux cryptodev-qoriq-module cryptodev-qoriq-test openssl-qoriq"
+
+INHERIT += "fsl-dynamic-packagearch"
--
2.9.3
More information about the meta-freescale
mailing list