From 4fb89ee72a70646615714f340a56568331bc823a Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Fri, 28 Aug 2015 18:36:46 +0800 Subject: 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 Signed-off-by: Otavio Salvador --- .../kernel-modules/kernel-module-pkc-host_git.bb | 37 ++++++++++++++++++++++ recipes-kernel/pkc-host/pkc-host_git.bb | 37 ---------------------- 2 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 recipes-kernel/kernel-modules/kernel-module-pkc-host_git.bb delete mode 100644 recipes-kernel/pkc-host/pkc-host_git.bb (limited to 'recipes-kernel') 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 @@ +DESCRIPTION = "pkc host driver" +SECTION = "pkc-host" +LICENSE = "BSD & GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813" + +inherit module qoriq_build_64bit_kernel +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 = "564f535d596f43eb2901a7ff77bbe529a118c16e" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' + +do_install() { + oe_runmake INSTALL_MOD_PATH="${D}" modules_install + install -d ${D}/etc/crypto + install -d ${D}/${bindir} + cp ${S}/crypto.cfg ${D}/etc/crypto + cp ${S}/images/pkc-firmware.bin ${D}/etc/crypto + cp ${S}/apps/cli/cli ${D}/${bindir} + cp ${S}/perf/c29x_driver_perf_profile.sh ${D}/${bindir} +} + + +FILES_${PN} = "${bindir}/cli \ + ${bindir}/c29x_driver_perf_profile.sh \ + /etc/crypto/crypto.cfg \ + /etc/crypto/pkc-firmware.bin \ +" + +COMPATIBLE_MACHINE = "(p4080ds)" diff --git a/recipes-kernel/pkc-host/pkc-host_git.bb b/recipes-kernel/pkc-host/pkc-host_git.bb deleted file mode 100644 index f7a62ed3c..000000000 --- a/recipes-kernel/pkc-host/pkc-host_git.bb +++ /dev/null @@ -1,37 +0,0 @@ -DESCRIPTION = "pkc host driver" -SECTION = "pkc-host" -LICENSE = "BSD & GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=99803d8e9a595c0bdb45ca710f353813" - -inherit module qoriq_build_64bit_kernel -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 = "564f535d596f43eb2901a7ff77bbe529a118c16e" - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' - -do_install() { - oe_runmake INSTALL_MOD_PATH="${D}" modules_install - install -d ${D}/etc/crypto - install -d ${D}/${bindir} - cp ${S}/crypto.cfg ${D}/etc/crypto - cp ${S}/images/pkc-firmware.bin ${D}/etc/crypto - cp ${S}/apps/cli/cli ${D}/${bindir} - cp ${S}/perf/c29x_driver_perf_profile.sh ${D}/${bindir} -} - - -FILES_${PN} = "${bindir}/cli \ - ${bindir}/c29x_driver_perf_profile.sh \ - /etc/crypto/crypto.cfg \ - /etc/crypto/pkc-firmware.bin \ -" - -COMPATIBLE_MACHINE = "(p4080ds)" -- cgit v1.2.3-54-g00ecf