[meta-freescale] [meta-fsl-ppc][PATCH 25/30] fsl-pme: add recipe

ting.liu at nxp.com ting.liu at nxp.com
Fri Jun 17 03:03:02 PDT 2016


From: Ting Liu <ting.liu at nxp.com>

Signed-off-by: Ting Liu <ting.liu at nxp.com>
---
 recipes-extended/fsl-pme/fsl-pme_1.0.3.bb | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 recipes-extended/fsl-pme/fsl-pme_1.0.3.bb

diff --git a/recipes-extended/fsl-pme/fsl-pme_1.0.3.bb b/recipes-extended/fsl-pme/fsl-pme_1.0.3.bb
new file mode 100644
index 0000000..20b8163
--- /dev/null
+++ b/recipes-extended/fsl-pme/fsl-pme_1.0.3.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "User space application for Pattern Matcher"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+DEPENDS="libedit"
+RDEPENDS_${PN} += "bash"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/fsl-pme.git;branch=sdk-v2.0.x"
+SRCREV = "f49fb57960ff5ee649be97a9587ede88e433ea71"
+
+S = "${WORKDIR}/git"
+
+do_compile(){
+    oe_runmake SYS_PATH=${STAGING_LIBDIR}/../
+}
+
+do_install() {
+    install -d ${D}${datadir}/fsl-pme
+    install -d ${D}${base_sbindir}
+    install -d ${D}${sysconfdir}/hotplug
+    install bin/* ${D}${base_sbindir}/
+    install -m 644 sample* ${D}${datadir}/fsl-pme/
+    install -m 644 modprobe.conf ${D}${sysconfdir}
+    install -m 755 misc.agent ${D}${sysconfdir}/hotplug
+}
+
+FILES_${PN} += "${datadir}/*"
+INSANE_SKIP_${PN} += "ldflags"
+COMPATIBLE_MACHINE = "(e500v2)"
-- 
1.9.2



More information about the meta-freescale mailing list