diff options
| author | Chunrong Guo <B40290@freescale.com> | 2015-01-08 15:07:11 +0800 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-01-13 11:07:12 -0200 |
| commit | 61e4a0002bdce410b6815ba5b15df9affde5a78b (patch) | |
| tree | e18ba3ae303e753f60a3ef1e08c63916bcdf1613 | |
| parent | bdfdc326ce06625937d1f9320facfec9887c8fa4 (diff) | |
| download | meta-freescale-61e4a0002bdce410b6815ba5b15df9affde5a78b.tar.gz | |
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 <B40290@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb | 27 |
1 files changed, 27 insertions, 0 deletions
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 000000000..676c54799 --- /dev/null +++ b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | DESCRIPTION = "Non-DPAA software Application Specific Fast-path" | ||
| 2 | SECTION = "asf" | ||
| 3 | LICENSE = "GPLv2 & GPLv2+ & BSD" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" | ||
| 5 | |||
| 6 | SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=sdk-v1.7.x" | ||
| 7 | SRCREV = "16eb472d6b2b34c8b605a86c469611bc8ddec1c9" | ||
| 8 | |||
| 9 | inherit module | ||
| 10 | |||
| 11 | S = "${WORKDIR}/git/asfmodule" | ||
| 12 | |||
| 13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
| 14 | export KERNEL_PATH = "${STAGING_KERNEL_DIR}" | ||
| 15 | |||
| 16 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 17 | |||
| 18 | do_install(){ | ||
| 19 | mkdir -p ${D}/${libexecdir} | ||
| 20 | mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
| 21 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
| 22 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
| 23 | cp -rf ${S}/scripts ${D}/${libexecdir}/ | ||
| 24 | } | ||
| 25 | |||
| 26 | FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf" | ||
| 27 | RDEPENDS_${PN} += "ipsec-tools" | ||
