Patchwork [meta-fsl-ppc,21/26] asf: add recipe

login
register
mail settings
Submitter Ting Liu
Date June 27, 2013, 9:25 a.m.
Message ID <1372325114-4423-12-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/52439/
State Accepted
Delegated to: Zhenhua Luo
Headers show

Comments

Ting Liu - June 27, 2013, 9:25 a.m.
From: Zhenhua Luo <zhenhua.luo@freescale.com>

asf is software Application Specific Fast-path for Freescale non-dpaa targets.

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
 recipes-kernel/asf/asf_git.bb |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 recipes-kernel/asf/asf_git.bb

Patch

diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb
new file mode 100644
index 0000000..6a6917f
--- /dev/null
+++ b/recipes-kernel/asf/asf_git.bb
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "Non-DPAA software Application Specific Fast-path"
+SECTION = "asf"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=9960b017720861b8c50c8c08723e57aa"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git"
+SRCREV = "0b80c1df6a7490486d5106b28103598906793da0"
+
+DEPENDS="virtual/kernel"
+
+inherit module
+
+S = "${WORKDIR}/git/asfmodule"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} KERNEL_PATH=${STAGING_KERNEL_DIR}"
+
+do_install(){
+	mkdir -p ${D}/usr/driver/asf
+	cp -rf ${S}/bin/full ${D}/usr/driver/asf
+	cp -rf ${S}/bin/min  ${D}/usr/driver/asf
+	cp -rf ${S}/../scripts ${D}/usr/driver/asf/.
+}
+
+FILES_${PN} += "/usr/driver/asf"
+INHIBIT_PACKAGE_STRIP = "1"