diff options
author | Chunrong Guo <chunrong.guo@nxp.com> | 2017-07-28 15:44:09 +0800 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-08-07 11:42:29 -0300 |
commit | ece24e8f9a042561f188d8f09c60b146dd081c94 (patch) | |
tree | 1f9b832c30fa2740f16363187493814aca21a3c2 /recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc | |
parent | d586bfdde75ab6cae4f2dcdb63c068e07f4c188e (diff) | |
download | meta-freescale-ece24e8f9a042561f188d8f09c60b146dd081c94.tar.gz |
cryptodev-qoriq: update to v1.9
Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc')
-rw-r--r-- | recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc b/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc new file mode 100644 index 00000000..24cc87c9 --- /dev/null +++ b/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc | |||
@@ -0,0 +1,42 @@ | |||
1 | HOMEPAGE = "http://cryptodev-linux.org/" | ||
2 | |||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
5 | |||
6 | python() { | ||
7 | pkgs = d.getVar('PACKAGES', True).split() | ||
8 | for p in pkgs: | ||
9 | if 'cryptodev-qoriq' in p: | ||
10 | d.appendVar("RPROVIDES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev')) | ||
11 | d.appendVar("RCONFLICTS_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev')) | ||
12 | d.appendVar("RREPLACES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev')) | ||
13 | } | ||
14 | |||
15 | FILESEXTRAPATHS_prepend := "${THISDIR}/sdk_patches:" | ||
16 | FILESEXTRAPATHS_prepend := "${THISDIR}/yocto_patches:" | ||
17 | |||
18 | SRC_URI = "http://nwl.cc/pub/cryptodev-linux/cryptodev-linux-${PV}.tar.gz" | ||
19 | |||
20 | SRC_URI[md5sum] = "cb4e0ed9e5937716c7c8a7be84895b6d" | ||
21 | SRC_URI[sha256sum] = "9f4c0b49b30e267d776f79455d09c70cc9c12c86eee400a0d0a0cd1d8e467950" | ||
22 | |||
23 | # SDK patches | ||
24 | SRC_URI_append = " file://0001-refactoring-split-big-function-to-simplify-maintaina.patch \ | ||
25 | file://0002-refactoring-relocate-code-to-simplify-later-patches.patch \ | ||
26 | file://0003-convert-to-new-AEAD-interface-in-kernels-v4.2.patch \ | ||
27 | file://0004-fix-type-of-returned-value.patch \ | ||
28 | file://0005-remove-unnecessary-header-inclusion.patch \ | ||
29 | file://0006-move-structure-definition-to-cryptodev_int.h.patch \ | ||
30 | file://0007-add-support-for-RSA-public-and-private-key-operation.patch \ | ||
31 | file://0008-check-session-flags-early-to-avoid-incorrect-failure.patch \ | ||
32 | file://0009-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch \ | ||
33 | " | ||
34 | #SRC_URI_append = " file://0003-update-the-install-path-for-cryptodev-tests.patch" | ||
35 | |||
36 | # NOTE: remove this patch and all traces of DISTRO_FEATURE c29x_pkc | ||
37 | # if pkc-host does not need customized cryptodev patches anymore | ||
38 | #SRC_URI_append = "${@bb.utils.contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}" | ||
39 | |||
40 | S = "${WORKDIR}/cryptodev-linux-${PV}" | ||
41 | |||
42 | CLEANBROKEN = "1" | ||