summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/kernel-modules
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2015-08-28 18:36:46 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:16 -0300
commit4fb89ee72a70646615714f340a56568331bc823a (patch)
tree44e9f7eef9e1b563a30d01d7880e93efcd11c5ad /recipes-kernel/kernel-modules
parent2e06ab62e39f2a3f677611f83388245a4062bc9b (diff)
downloadmeta-freescale-4fb89ee72a70646615714f340a56568331bc823a.tar.gz
rename pkc-host to kernel-module-pkc-host and move bb to kernel-modules subdir
* rename pkc-host to kernel-module-pkc-host * move bb file to the common kernel-modules subdirectory Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/kernel-modules')
-rw-r--r--recipes-kernel/kernel-modules/kernel-module-pkc-host_git.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-pkc-host_git.bb b/recipes-kernel/kernel-modules/kernel-module-pkc-host_git.bb
new file mode 100644
index 000000000..f7a62ed3c
--- /dev/null
+++ b/recipes-kernel/kernel-modules/kernel-module-pkc-host_git.bb
@@ -0,0 +1,37 @@
1DESCRIPTION = "pkc host driver"
2SECTION = "pkc-host"
3LICENSE = "BSD & GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813"
5
6inherit module qoriq_build_64bit_kernel
7RDEPENDS_${PN} += "cryptodev-module bc"
8
9# Currently pkc-host does not support RSA_KEYGEN, remove this
10# if it is fixed.
11REQUIRED_DISTRO_FEATURES = "c29x_pkc"
12
13SRC_URI = "git://git.freescale.com/ppc/sdk/pkc-host.git;nobranch=1"
14SRCREV = "564f535d596f43eb2901a7ff77bbe529a118c16e"
15
16S = "${WORKDIR}/git"
17
18EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
19
20do_install() {
21 oe_runmake INSTALL_MOD_PATH="${D}" modules_install
22 install -d ${D}/etc/crypto
23 install -d ${D}/${bindir}
24 cp ${S}/crypto.cfg ${D}/etc/crypto
25 cp ${S}/images/pkc-firmware.bin ${D}/etc/crypto
26 cp ${S}/apps/cli/cli ${D}/${bindir}
27 cp ${S}/perf/c29x_driver_perf_profile.sh ${D}/${bindir}
28}
29
30
31FILES_${PN} = "${bindir}/cli \
32 ${bindir}/c29x_driver_perf_profile.sh \
33 /etc/crypto/crypto.cfg \
34 /etc/crypto/pkc-firmware.bin \
35"
36
37COMPATIBLE_MACHINE = "(p4080ds)"