aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2016-05-18 14:04:49 +0800
committerZhenhua Luo <zhenhua.luo@nxp.com>2016-06-23 10:58:17 +0800
commitb01f5773e2c92c61f99de74c004aa6b955ebb5d5 (patch)
tree394bfc21a23cd0121cf52762fd1941d3e74687c0
parent3691de665ccc55ab87eb6c70014184d400de4933 (diff)
downloadmeta-fsl-ppc-b01f5773e2c92c61f99de74c004aa6b955ebb5d5.tar.gz
meta-fsl-ppc-b01f5773e2c92c61f99de74c004aa6b955ebb5d5.tar.bz2
meta-fsl-ppc-b01f5773e2c92c61f99de74c004aa6b955ebb5d5.zip
fsl-pme: add recipe
Signed-off-by: Ting Liu <ting.liu@nxp.com>
-rw-r--r--recipes-extended/fsl-pme/fsl-pme_1.0.3.bb29
1 files changed, 29 insertions, 0 deletions
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)"