task-arago-tisdk-crypto: Port crypto tasks from arago to meta-arago
PATCH v4 1/1 task-arago-tisdk-crypto: Port crypto tasks from arago to meta-arago
From: Franklin S Cooper Jr <[email protected]>
* Port task-arago-tisdk-crypto including the host and target version from arago to meta-arago. These tasks are significantly smaller compared to the versions in arago. This is due to the contents of these tasks being either split into new tasks or simply moved to other tasks.
Signed-off-by Franklin S Cooper Jr <[email protected]>
---
Version 4 changes:
Remove COMPATIBLE_MACHINE.
Added PACKAGE_ARCH and ALLOW_EMPTY when needed.
Version 3 changes:
Remove unneeded PACKAGE_ARCH
.../tasks/task-arago-tisdk-crypto-sdk-host.bb | 23 ++++++++++++++ .../tasks/task-arago-tisdk-crypto-sdk-target.bb | 12 +++++++ .../recipes-core/tasks/task-arago-tisdk-crypto.bb | 31 ++++++++++++++++++++ 3 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-host.bb create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-target.bb create mode 100644 meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto.bb
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-host.bb new file +23 -0
@@ -0,0 +1,23 @@ +DESCRIPTION = "Task to install crypto sources in SDK" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r0" + +inherit task + +PACKAGE_ARCH = "${MACHINE_ARCH}" +ALLOW_EMPTY = "1" + +CRYPTO_RDEPENDS = "" + +CRYPTO_RDEPENDS_am37x-evm = "\ + ti-ocf-crypto-module-src \ +" + +CRYPTO_RDEPENDS_am3517-evm = "\ + ti-ocf-crypto-module-src \ +" +RDEPENDS_${PN} = "\ + ${CRYPTO_RDEPENDS} \ +"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto-sdk-target.bb new file +12 -0
@@ -0,0 +1,12 @@ +DESCRIPTION = "Task to install crypto dev packages in SDK" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r0" + +inherit task + +RDEPENDS_${PN} = "\ + openssl-dev \ + ocf-linux-dev \ +"
meta-arago-distro/recipes-core/tasks/task-arago-tisdk-crypto.bb new file +31 -0
@@ -0,0 +1,31 @@ +DESCRIPTION = "Task to install crypto packages into target FS" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +PR = "r0" + +inherit task + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +# Add openssl-misc to get the openssl.cnf file which is +# needed for "openssl req" and to avoid warnings. +# NOTE: This may change to openssl-conf in the future +CRYPTO_SUPPORT = "\ + openssl \ + openssl-misc \ + " + +# Add crypto hardware support for am37x-evm +# NOTE: this package depends on a kernel patch which also has a TSU +# exemption filed. The current name and checksums of the +# kernel patch are: +# Name: 0001-linux-omap3-PSP-3.0.1.6-kernel-with-OCF-Linux.patch +# md5sum: 00bb20f2f33a37489d8c52212933368d +# sha256sum: 1fea8323d12cf1ee4f743f0f1c82d7f3821a7d9b7996c44b17d7761579bb090d +CRYPTO_SUPPORT_append_am37x-evm = " ti-ocf-crypto-module" +CRYPTO_SUPPORT_append_am3517-evm = " ti-ocf-crypto-module" + +RDEPENDS_${PN} = "\ + ${CRYPTO_SUPPORT} \ + "
Signature · 1 line
1.7.0.4