]> code.ossystems Code Review - meta-freescale.git/commitdiff
fsl-pme: add recipe
authorTing Liu <ting.liu@nxp.com>
Wed, 18 May 2016 06:04:49 +0000 (14:04 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 12 Aug 2016 14:41:02 +0000 (11:41 -0300)
Signed-off-by: Ting Liu <ting.liu@nxp.com>
recipes-extended/fsl-pme/fsl-pme_1.0.3.bb [new file with mode: 0644]

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 (file)
index 0000000..7fe11fd
--- /dev/null
@@ -0,0 +1,26 @@
+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"
+
+EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" 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)"