[meta-freescale] [meta-fsl-arm][PATCH ] asf : add recipes for Layerscape1 support

B40290 at freescale.com B40290 at freescale.com
Thu Dec 25 19:32:44 PST 2014


Hello Otavio,

Thank you for your comments.
But I remained confused about the below issue.

(http://patches.openembedded.org/patch/85449/)

> +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"

We you are using /usr/driver? FHS-like would be ${localexecdir}/bin
and ${localexecdir}/scripts.


> +INHIBIT_PACKAGE_STRIP = "1"
> --
> 1.9.2
>
> --


Thanks
Chunrong



-----Original Message-----
From: b40290 at freescale.com [mailto:b40290 at freescale.com] 
Sent: Tuesday, December 23, 2014 1:33 PM
To: meta-freescale at yoctoproject.org
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-fsl-arm][PATCH ] asf : add recipes for Layerscape1 support

From: Chunrong Guo <B40290 at freescale.com>

   1. ASF depend on ipsec-tools in meta-openembeded.
   2. ASF is Linux kernel implementation for accelerating the data path
      processing on the Freescale family of processors

Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 recipes-kernel/asf/asf_git.bb | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-kernel/asf/asf_git.bb

diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb new file mode 100644 index 0000000..4108dcc
--- /dev/null
+++ b/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"
+
+DEPENDS="virtual/kernel"
+RDEPENDS_${PN} += "ipsec-tools"
+
+inherit module
+
+S = "${WORKDIR}/git/asfmodule"
+
+EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
+export 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"
--
1.9.2



More information about the meta-freescale mailing list