From e0ab3df3b2d853db33801ba880683a2619a4d479 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Sat, 9 Jan 2016 14:43:43 +0800 Subject: kernel-module-asf: rename back to asf asf ships not only .ko files, but also scripts. As the recipe inherits module.bbclass, kernel-module-* will be created to package .ko if installed into /lib/modules/. Signed-off-by: Ting Liu > Signed-off-by: Otavio Salvador --- recipes-kernel/asf/asf_git.bb | 36 ++++++++++++++++++++++ .../kernel-modules/kernel-module-asf_git.bb | 36 ---------------------- 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 recipes-kernel/asf/asf_git.bb delete mode 100644 recipes-kernel/kernel-modules/kernel-module-asf_git.bb diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb new file mode 100644 index 00000000..a9624e49 --- /dev/null +++ b/recipes-kernel/asf/asf_git.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Non-DPAA software Application Specific Fast-path" +SECTION = "asf" +LICENSE = "GPLv2 & GPLv2+ & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" + +SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=master" +SRCREV = "62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b" + +RDEPENDS_${PN} += "ipsec-tools" + +inherit module qoriq_build_64bit_kernel + +S = "${WORKDIR}/git/asfmodule" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +export KERNEL_PATH = "${STAGING_KERNEL_DIR}" + +INHIBIT_PACKAGE_STRIP = "1" + +do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure_prepend () { + find ${S} -name Makefile -exec \ + sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' {} \; +} + +do_install(){ + install -d ${D}/${libexecdir} + install -d ${D}/lib/modules/${KERNEL_VERSION}/asf + cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf + cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf + cp -rf ${S}/../scripts ${D}/${libexecdir}/ +} + +FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf" + +COMPATIBLE_MACHINE = "(qoriq)" diff --git a/recipes-kernel/kernel-modules/kernel-module-asf_git.bb b/recipes-kernel/kernel-modules/kernel-module-asf_git.bb deleted file mode 100644 index a9624e49..00000000 --- a/recipes-kernel/kernel-modules/kernel-module-asf_git.bb +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION = "Non-DPAA software Application Specific Fast-path" -SECTION = "asf" -LICENSE = "GPLv2 & GPLv2+ & BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" - -SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=master" -SRCREV = "62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b" - -RDEPENDS_${PN} += "ipsec-tools" - -inherit module qoriq_build_64bit_kernel - -S = "${WORKDIR}/git/asfmodule" - -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" -export KERNEL_PATH = "${STAGING_KERNEL_DIR}" - -INHIBIT_PACKAGE_STRIP = "1" - -do_configure[depends] += "virtual/kernel:do_shared_workdir" -do_configure_prepend () { - find ${S} -name Makefile -exec \ - sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' {} \; -} - -do_install(){ - install -d ${D}/${libexecdir} - install -d ${D}/lib/modules/${KERNEL_VERSION}/asf - cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf - cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf - cp -rf ${S}/../scripts ${D}/${libexecdir}/ -} - -FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf" - -COMPATIBLE_MACHINE = "(qoriq)" -- cgit v1.2.3-54-g00ecf