From: Chunrong Guo Date: Thu, 8 Jan 2015 07:07:11 +0000 (+0800) Subject: asf : add recipes for Layerscape1 support X-Git-Tag: 2.1~710 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=61e4a0002bdce410b6815ba5b15df9affde5a78b;p=meta-freescale.git asf : add recipes for Layerscape1 support 1. ASF depend on ipsec-tools in meta-openembeded. 2. ASF is Linux kernel implementation for accelerating the data pat processing on the Freescale family of processors Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- diff --git a/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb new file mode 100644 index 00000000..676c5479 --- /dev/null +++ b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Non-DPAA software Application Specific Fast-path" +SECTION = "asf" +LICENSE = "GPLv2 & GPLv2+ & BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" + +SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v1.7.x" +SRCREV = "16eb472d6b2b34c8b605a86c469611bc8ddec1c9" + +inherit module + +S = "${WORKDIR}/git/asfmodule" + +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" +export KERNEL_PATH = "${STAGING_KERNEL_DIR}" + +INHIBIT_PACKAGE_STRIP = "1" + +do_install(){ + mkdir -p ${D}/${libexecdir} + mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf + cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf + cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf + cp -rf ${S}/scripts ${D}/${libexecdir}/ +} + +FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf" +RDEPENDS_${PN} += "ipsec-tools"