From e73628337d43671a166405d63f22e18f8f1edca8 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Tue, 13 Jan 2015 18:27:37 +0800 Subject: [PATCH] auto-resp: add recipe Signed-off-by: Ting Liu --- .../recipes-kernel/auto-resp/ar_git.bb | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-fsl-ppc/recipes-kernel/auto-resp/ar_git.bb 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 index 00000000..81a94a04 --- /dev/null +++ b/meta-fsl-ppc/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}/" + -- 2.40.1