From b52932ca834e77fda709c26428f0111642bb50e7 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Fri, 28 Aug 2015 18:36:49 +0800 Subject: rename ar to kernel-module-ar and move bb to kernel-modules subdir * rename ar to kernel-module-ar * move bb file to the common kernel-modules subdirectory Signed-off-by: Zhenhua Luo Signed-off-by: Otavio Salvador --- recipes-kernel/auto-resp/ar_git.bb | 30 ---------------------- .../kernel-modules/kernel-module-ar_git.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 recipes-kernel/auto-resp/ar_git.bb create mode 100644 recipes-kernel/kernel-modules/kernel-module-ar_git.bb (limited to 'recipes-kernel') diff --git a/recipes-kernel/auto-resp/ar_git.bb b/recipes-kernel/auto-resp/ar_git.bb deleted file mode 100644 index 0cfbddf5..00000000 --- a/recipes-kernel/auto-resp/ar_git.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Auto Response Control Module" -LICENSE = "GPLv2 & BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" - -inherit module - -SRC_URI = "git://git.freescale.com/ppc/sdk/auto-resp.git;branch=sdk-v1.7.x" -SRCREV = "dbede76fb4020a370baa393f7c53af4c0db8f175" - -S = "${WORKDIR}/git" - -EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" -export KERNEL_PATH - -INHIBIT_PACKAGE_STRIP = "1" - -do_compile_prepend() { - sed -i -e 's,EXTRA_CFLAGS += -I$(PWD),EXTRA_CFLAGS += -I${S},' ${S}/armodule/source/Makefile -} - -do_install(){ - install -d ${D}/lib/modules/${KERNEL_VERSION} - install -d ${D}${bindir} - install -m 644 ${B}/bin/ar.ko ${D}/lib/modules/${KERNEL_VERSION}/ - cp -f ${S}/bin/ar_* ${D}${bindir}/ -} - -FILES_${PN} += "${bindir}/" - -COMPATIBLE_MACHINE = "(t1040rdb|t1040rdb-64b|t1042rdb|t1042rdb-64b|t1042rdb-pi|t1042rdb-pi-64b)" diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb new file mode 100644 index 00000000..0cfbddf5 --- /dev/null +++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb @@ -0,0 +1,30 @@ +SUMMARY = "Auto Response Control Module" +LICENSE = "GPLv2 & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" + +inherit module + +SRC_URI = "git://git.freescale.com/ppc/sdk/auto-resp.git;branch=sdk-v1.7.x" +SRCREV = "dbede76fb4020a370baa393f7c53af4c0db8f175" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" +export KERNEL_PATH + +INHIBIT_PACKAGE_STRIP = "1" + +do_compile_prepend() { + sed -i -e 's,EXTRA_CFLAGS += -I$(PWD),EXTRA_CFLAGS += -I${S},' ${S}/armodule/source/Makefile +} + +do_install(){ + install -d ${D}/lib/modules/${KERNEL_VERSION} + install -d ${D}${bindir} + install -m 644 ${B}/bin/ar.ko ${D}/lib/modules/${KERNEL_VERSION}/ + cp -f ${S}/bin/ar_* ${D}${bindir}/ +} + +FILES_${PN} += "${bindir}/" + +COMPATIBLE_MACHINE = "(t1040rdb|t1040rdb-64b|t1042rdb|t1042rdb-64b|t1042rdb-pi|t1042rdb-pi-64b)" -- cgit v1.2.3-54-g00ecf