[meta-freescale] [meta-fsl-ppc][PATCH 5/6] pkc-host: update to revision 564f535

b28495 at freescale.com b28495 at freescale.com
Thu Jul 16 22:00:24 PDT 2015


From: Ting Liu <ting.liu at freescale.com>

The changes include:
- bc is added as a runtime dependency for performance tests
- mini_calc is dropped and replaced by bc
- use 'oe_runmake modules_install' to install kernel modules

There are 138 new git commits. For detailed info, see:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/pkc-host.git/tag/?id=fsl-sdk-v1.8

Signed-off-by: Ting Liu <ting.liu at freescale.com>
---
 recipes-kernel/pkc-host/pkc-host_git.bb | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/recipes-kernel/pkc-host/pkc-host_git.bb b/recipes-kernel/pkc-host/pkc-host_git.bb
index 2d5e316..3bf548f 100644
--- a/recipes-kernel/pkc-host/pkc-host_git.bb
+++ b/recipes-kernel/pkc-host/pkc-host_git.bb
@@ -4,30 +4,32 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=6a26ed8e76a8ea2e019c525369ed0f03"
 
 inherit  module qoriq_build_64bit_kernel
-RDEPENDS_${PN} += "cryptodev-module"
+RDEPENDS_${PN} += "cryptodev-module bc"
 
 # Currently pkc-host does not support RSA_KEYGEN, remove this
 # if it is fixed.
 REQUIRED_DISTRO_FEATURES = "c29x_pkc"
 
 SRC_URI = "git://git.freescale.com/ppc/sdk/pkc-host.git;nobranch=1"
-SRCREV = "cae512c94e2a26cc6b0d6393d307cdea2d7282c9"
+SRCREV = "564f535d596f43eb2901a7ff77bbe529a118c16e"
 
 S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
 
 do_install() {
-        install -d ${D}/lib/modules/c2x0
+        oe_runmake INSTALL_MOD_PATH="${D}" modules_install
         install -d ${D}/etc/crypto
         install -d ${D}/${bindir}
-        cp ${S}/*.ko ${D}/lib/modules/c2x0
         cp ${S}/crypto.cfg ${D}/etc/crypto
         cp ${S}/images/pkc-firmware.bin ${D}/etc/crypto
-        cp ${S}/perf/mini_calc/mini_calc ${D}/${bindir}
         cp ${S}/apps/cli/cli ${D}/${bindir}
         cp ${S}/perf/c29x_driver_perf_profile.sh ${D}/${bindir}
 }
 
 
-FILES_${PN} += "${bindir}/mini_calc ${bindir}/cli ${bindir}/c29x_driver_perf_profile.sh /etc/crypto/crypto.cfg /etc/crypto/pkc-firmware.bin"
+FILES_${PN} = "${bindir}/cli \
+    ${bindir}/c29x_driver_perf_profile.sh \
+    /etc/crypto/crypto.cfg \
+    /etc/crypto/pkc-firmware.bin \
+"
-- 
1.9.1



More information about the meta-freescale mailing list