diff options
Diffstat (limited to 'recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc')
-rw-r--r-- | recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc b/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc new file mode 100644 index 0000000..e4700db --- /dev/null +++ b/recipes-kernel/cryptodev/cryptodev-qoriq_1.7.inc | |||
@@ -0,0 +1,62 @@ | |||
1 | HOMEPAGE = "http://cryptodev-linux.org/" | ||
2 | |||
3 | RCONFLICTS_${PN} = "ocf-linux" | ||
4 | RREPLACES_${PN} = "ocf-linux" | ||
5 | |||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
8 | |||
9 | python() { | ||
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 | |||
18 | SRC_URI = "http://download.gna.org/cryptodev-linux/cryptodev-linux-${PV}.tar.gz" | ||
19 | SRC_URI[md5sum] = "0b63b3481cf2c90386b35f057481d36b" | ||
20 | SRC_URI[sha256sum] = "41880533b53de4d7b3f054e230f576988dafb8eed7bef5ebcf6422bb2e3a3b25" | ||
21 | |||
22 | # Upstream hotfixes and yocto specific patches | ||
23 | SRC_URI_append = " \ | ||
24 | file://0001-fix-compilation-against-linux-3.19.patch \ | ||
25 | file://0002-tests-Makefile-fix-arg-passing-to-CC-in-implicit-rul.patch \ | ||
26 | file://0003-Disable-installing-header-file-provided-by-another-p.patch \ | ||
27 | file://0004-Add-the-compile-and-install-rules-for-cryptodev-test.patch \ | ||
28 | " | ||
29 | # SDK patches | ||
30 | SRC_URI_append = " file://0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch \ | ||
31 | file://0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch \ | ||
32 | file://0003-PKC-support-added-in-cryptodev-module.patch \ | ||
33 | file://0004-Compat-versions-of-PKC-IOCTLs.patch \ | ||
34 | file://0005-Asynchronous-interface-changes-in-cryptodev.patch \ | ||
35 | file://0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch \ | ||
36 | file://0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch \ | ||
37 | file://0008-Add-RSA-Key-generation-offloading.patch \ | ||
38 | file://0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch \ | ||
39 | file://0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch \ | ||
40 | file://0011-add-support-for-TLSv1.1-record-offload.patch \ | ||
41 | file://0012-add-support-for-TLSv1.2-record-offload.patch \ | ||
42 | file://0013-clean-up-code-layout.patch \ | ||
43 | file://0014-remove-redundant-data-copy-for-pkc-operations.patch \ | ||
44 | file://0015-fix-pkc-request-deallocation.patch \ | ||
45 | file://0016-add-basic-detection-of-asym-features.patch \ | ||
46 | file://0017-remove-dead-code.patch \ | ||
47 | file://0018-fix-compat-warnings.patch \ | ||
48 | file://0019-fix-size_t-print-format.patch \ | ||
49 | file://0020-fix-uninitialized-variable-compiler-warning.patch \ | ||
50 | file://0021-check-return-codes-for-copy-to-from-user-functions.patch \ | ||
51 | file://0022-fix-double-free-pkc-req-on-error.patch \ | ||
52 | file://0023-remove-MAY_BACKLOG-flag-from-requests.patch \ | ||
53 | file://0024-fix-COMPAT_CIOCKEY-ioctl-command-number.patch \ | ||
54 | " | ||
55 | |||
56 | # NOTE: remove this patch and all traces of DISTRO_FEATURE c29x_pkc | ||
57 | # if pkc-host does not need customized cryptodev patches anymore | ||
58 | SRC_URI_append = "${@bb.utils.contains('DISTRO_FEATURES', 'c29x_pkc', ' file://0001-don-t-advertise-RSA-keygen.patch', '', d)}" | ||
59 | |||
60 | S = "${WORKDIR}/cryptodev-linux-${PV}" | ||
61 | |||
62 | CLEANBROKEN = "1" | ||