Skip to contentSkip to conversation

packagegroup-*-crypto-sdk-target: fix conflict between cryptodev and ocf-linux

PATCH New Denys Dmytriyenko 1 participant 1 message Dec 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-*-crypto-sdk-target: fix conflict between cryptodev and ocf-linux

From: Denys Dmytriyenko <[email protected]>

Different platforms use fifferent crypto APIs, so make the packagegroup machine specific.

---
 .../packagegroup-arago-tisdk-crypto-sdk-target.bb            | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto-sdk-target.bb +10 -2
index cb9a68c..a9e4150 100644
@@ -1,10 +1,18 @@
 DESCRIPTION = "Task to install crypto dev packages in SDK"
 LICENSE = "MIT"
-PR = "r2"
+PR = "r3"
 
 inherit packagegroup
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+CRYPTO_API = "ocf-linux-dev"
+
+CRYPTO_API_ti33x = "cryptodev-dev"
+CRYPTO_API_ti43x = "cryptodev-dev"
+CRYPTO_API_dra7xx-evm = "cryptodev-dev"
+
 RDEPENDS_${PN} = "\
     openssl-dev \
-    ocf-linux-dev \
+    ${CRYPTO_API} \
 "
Signature · 1 line
1.8.3.2