From 2cb9b8e60acc4000b462952d8127718a5056c595 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Fri, 28 Aug 2015 18:36:51 +0800 Subject: rename ceetm to kernel-module-ceetm and move bb to kernel-modules subdir * rename ceetm to kernel-module-ceetm * move bb file to the common kernel-modules subdirectory Signed-off-by: Zhenhua Luo Signed-off-by: Otavio Salvador --- recipes-kernel/ceetm/ceetm_git.bb | 30 ---------------------- .../kernel-modules/kernel-module-ceetm_git.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 recipes-kernel/ceetm/ceetm_git.bb create mode 100644 recipes-kernel/kernel-modules/kernel-module-ceetm_git.bb (limited to 'recipes-kernel') diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb deleted file mode 100644 index 5d89531f..00000000 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "CEETM TC QDISC" -LICENSE = "GPLv2 & BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" - -inherit module qoriq_build_64bit_kernel - -SRC_URI = "git://git.freescale.com/ppc/sdk/ceetm.git;nobranch=1" -SRCREV = "ecf55c9ca0cd42a212653e1f99c19cd611e3a008" - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" -export KERNEL_PATH = "${STAGING_KERNEL_DIR}" - -do_configure[depends] += "virtual/kernel:do_shared_workdir" -do_configure_prepend () { - sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/ceetm_module/Makefile -} - -do_install(){ - mkdir -p ${D}/usr/driver/ceetm - mkdir -p ${D}/${libdir}/tc - cp ${S}/bin/ceetm.ko ${D}/usr/driver/ceetm - cp ${S}/bin/q_ceetm.so ${D}/${libdir}/tc/. -} - -FILES_${PN} += "/usr/driver/ceetm ${libdir}/tc" -INHIBIT_PACKAGE_STRIP = "1" - -COMPATIBLE_MACHINE = "(e6500-64b|t1040rdb|t1040rdb-64b|t1042rdb|t1042rdb-64b)" diff --git a/recipes-kernel/kernel-modules/kernel-module-ceetm_git.bb b/recipes-kernel/kernel-modules/kernel-module-ceetm_git.bb new file mode 100644 index 00000000..5d89531f --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-ceetm_git.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "CEETM TC QDISC" +LICENSE = "GPLv2 & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" + +inherit module qoriq_build_64bit_kernel + +SRC_URI = "git://git.freescale.com/ppc/sdk/ceetm.git;nobranch=1" +SRCREV = "ecf55c9ca0cd42a212653e1f99c19cd611e3a008" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" +export KERNEL_PATH = "${STAGING_KERNEL_DIR}" + +do_configure[depends] += "virtual/kernel:do_shared_workdir" +do_configure_prepend () { + sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' ${S}/ceetm_module/Makefile +} + +do_install(){ + mkdir -p ${D}/usr/driver/ceetm + mkdir -p ${D}/${libdir}/tc + cp ${S}/bin/ceetm.ko ${D}/usr/driver/ceetm + cp ${S}/bin/q_ceetm.so ${D}/${libdir}/tc/. +} + +FILES_${PN} += "/usr/driver/ceetm ${libdir}/tc" +INHIBIT_PACKAGE_STRIP = "1" + +COMPATIBLE_MACHINE = "(e6500-64b|t1040rdb|t1040rdb-64b|t1042rdb|t1042rdb-64b)" -- cgit v1.2.3-54-g00ecf