From: Zhenhua Luo Date: Thu, 27 Jun 2013 09:25:09 +0000 (+0000) Subject: asf: add recipe X-Git-Tag: 2.1~534^2~270 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=692b21d891010da7089f4460d4865d55ff5f0e49;p=meta-freescale.git asf: add recipe asf is software Application Specific Fast-path for Freescale non-dpaa targets. Signed-off-by: Zhenhua Luo --- diff --git a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb b/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb new file mode 100644 index 00000000..6a6917fa --- /dev/null +++ b/meta-fsl-ppc/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"