]> code.ossystems Code Review - meta-freescale.git/commitdiff
auto-resp: add recipe
authorTing Liu <b28495@freescale.com>
Tue, 13 Jan 2015 10:27:37 +0000 (18:27 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Wed, 14 Jan 2015 02:44:02 +0000 (10:44 +0800)
Signed-off-by: Ting Liu <b28495@freescale.com>
meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb [new file with mode: 0644]

diff --git a/meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb b/meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb
new file mode 100644 (file)
index 0000000..81a94a0
--- /dev/null
@@ -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}/"
+