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 <ota...@ossystems.com.br>
---

 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

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to