diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-06-27 09:25:09 +0000 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2013-07-03 18:34:30 +0800 |
commit | e83d5ccf75eb327a37a33e35a7849ef809f0df03 (patch) | |
tree | 0194a08fef971274e720a00c84d445c8ccc1ba7b | |
parent | 2c4beb3046786c846b4a96ee7c8256c4c248df04 (diff) | |
download | meta-fsl-ppc-e83d5ccf75eb327a37a33e35a7849ef809f0df03.tar.gz |
asf: add recipe
asf is software Application Specific Fast-path for Freescale non-dpaa targets.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
-rw-r--r-- | recipes-kernel/asf/asf_git.bb | 25 |
1 files changed, 25 insertions, 0 deletions
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 @@ | |||
1 | DESCRIPTION = "Non-DPAA software Application Specific Fast-path" | ||
2 | SECTION = "asf" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=9960b017720861b8c50c8c08723e57aa" | ||
5 | |||
6 | SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git" | ||
7 | SRCREV = "0b80c1df6a7490486d5106b28103598906793da0" | ||
8 | |||
9 | DEPENDS="virtual/kernel" | ||
10 | |||
11 | inherit module | ||
12 | |||
13 | S = "${WORKDIR}/git/asfmodule" | ||
14 | |||
15 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} KERNEL_PATH=${STAGING_KERNEL_DIR}" | ||
16 | |||
17 | do_install(){ | ||
18 | mkdir -p ${D}/usr/driver/asf | ||
19 | cp -rf ${S}/bin/full ${D}/usr/driver/asf | ||
20 | cp -rf ${S}/bin/min ${D}/usr/driver/asf | ||
21 | cp -rf ${S}/../scripts ${D}/usr/driver/asf/. | ||
22 | } | ||
23 | |||
24 | FILES_${PN} += "/usr/driver/asf" | ||
25 | INHIBIT_PACKAGE_STRIP = "1" | ||