From: Leo Yan <leo.yan@linaro.org>
To: openembedded-devel@lists.openembedded.org,
Sumit Garg <sumit.garg@linaro.org>,
Daniel Thompson <daniel.thompson@linaro.org>,
Loic Poulain <loic.poulain@linaro.org>
Subject: [meta-oe][PATCH v1 1/4] Ply: Add recipe for git version
Date: Tue, 18 Feb 2020 13:25:41 +0800 [thread overview]
Message-ID: <20200218052544.9467-2-leo.yan@linaro.org> (raw)
In-Reply-To: <20200218052544.9467-1-leo.yan@linaro.org>
Ply is a light-weight eBPF tool which compiles ply script or one-liner
to Linux BPF programs and attaches to kprobes and tracepoints. It
doesn't require external dependencies except libc, so it's very friendly
for embedded system usage.
This patch adds the recipe to support ply building for git version.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
meta-oe/recipes-devtools/ply/ply_git.bb | 27 +++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 meta-oe/recipes-devtools/ply/ply_git.bb
diff --git a/meta-oe/recipes-devtools/ply/ply_git.bb b/meta-oe/recipes-devtools/ply/ply_git.bb
new file mode 100644
index 000000000..b8295386c
--- /dev/null
+++ b/meta-oe/recipes-devtools/ply/ply_git.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Ply: A light-weight dynamic tracer for eBPF"
+HOMEPAGE = "https://github.com/iovisor/ply"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS += "bison-native"
+
+SRC_URI = "git://github.com/iovisor/ply"
+SRCREV = "aa5b9ac31307ec1acece818be334ef801c802a12"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+ ( cd ${S}; ./autogen.sh; cd - )
+}
+
+do_configure() {
+ ( cd ${S}; ./configure --host=${TARGET_SYS} --prefix=${D}${prefix}; cd - )
+}
+
+do_compile() {
+ ( cd ${S}; oe_runmake; cd - )
+}
+
+do_install() {
+ ( cd ${S}; oe_runmake install; cd - )
+}
--
2.17.1
next prev parent reply other threads:[~2020-02-18 5:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 5:25 [meta-oe][PATCH v1 0/4] eBPF tools: Add recipes Leo Yan
2020-02-18 5:25 ` Leo Yan [this message]
2020-02-20 15:41 ` [meta-oe][PATCH v1 1/4] Ply: Add recipe for git version Khem Raj
2020-02-21 9:03 ` Leo Yan
2020-02-18 5:25 ` [meta-oe][PATCH v1 2/4] luajit: Add luajit 2.1.0-beta3 recipe Leo Yan
2020-02-19 23:07 ` Khem Raj
2020-02-18 5:25 ` [meta-oe][PATCH v1 3/4] BCC: Add build recipe Leo Yan
2020-02-18 6:30 ` Khem Raj
2020-02-18 7:27 ` Leo Yan
2020-02-19 9:44 ` Leo Yan
2020-02-19 17:16 ` Khem Raj
2020-02-18 5:25 ` [meta-oe][PATCH v1 4/4] bpftrace: " Leo Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200218052544.9467-2-leo.yan@linaro.org \
--to=leo.yan@linaro.org \
--cc=daniel.thompson@linaro.org \
--cc=loic.poulain@linaro.org \
--cc=openembedded-devel@lists.openembedded.org \
--cc=sumit.garg@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.