summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2015-10-13 14:15:55 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:20 -0300
commit37ebd90eababce03cfbaeef2514d76a75492a4aa (patch)
treef669513f072f962af59e280ef082021bc872e9c3
parent3771e5356dcb81acaa80d1b40ee80f988a928c75 (diff)
downloadmeta-freescale-37ebd90eababce03cfbaeef2514d76a75492a4aa.tar.gz
cryptodev-qoriq: Fix runtime providers so 'cryptodev' is not taken as provider
QorIQ targets should use FSL custom cryprodev instead of the one provided by poky, fix the runtime providers to ensure 'cryptodev-qoriq' is taken as provider. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc b/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc
index 31b23a71..ffd07a85 100644
--- a/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc
+++ b/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc
@@ -6,6 +6,15 @@ RREPLACES_${PN} = "ocf-linux"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8 8
9python() {
10 pkgs = d.getVar('PACKAGES', True).split()
11 for p in pkgs:
12 if 'cryptodev-qoriq' in p:
13 d.appendVar("RPROVIDES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev'))
14 d.appendVar("RCONFLICTS_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev'))
15 d.appendVar("RREPLACES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev'))
16}
17
9SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz" 18SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz"
10SRC_URI[md5sum] = "0b63b3481cf2c90386b35f057481d36b" 19SRC_URI[md5sum] = "0b63b3481cf2c90386b35f057481d36b"
11SRC_URI[sha256sum] = "41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25" 20SRC_URI[sha256sum] = "41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25"