[meta-freescale] [meta-fsl-ppc][PATCH 1/3] auto-resp: add recipe

ting.liu at freescale.com ting.liu at freescale.com
Tue Jan 13 02:27:37 PST 2015


From: Ting Liu <b28495 at freescale.com>

Signed-off-by: Ting Liu <b28495 at freescale.com>
---
 recipes-kernel/auto-resp/ar_git.bb | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 recipes-kernel/auto-resp/ar_git.bb

diff --git a/recipes-kernel/auto-resp/ar_git.bb b/recipes-kernel/auto-resp/ar_git.bb
new file mode 100644
index 0000000..81a94a0
--- /dev/null
+++ b/recipes-kernel/auto-resp/ar_git.bb
@@ -0,0 +1,25 @@
+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_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}/"
+
-- 
1.9.1



More information about the meta-freescale mailing list