Re: [oe] [meta-oe][PATCH v1 1/4] Ply: Add recipe for git version
Hi Khem, On Thu, Feb 20, 2020 at 07:41:35AM -0800, Khem Raj wrote: > fails to build fot x86/musl > http://errors.yoctoproject.org/Errors/Details/391871/ Ply doesn't support x86 and it supports x86_64. Will fix the dependency issue in the new patch with adding two lines: COMPATIBLE_HOST_i586 = 'null' COMPATIBLE_HOST_i686 = 'null' Thanks a lot for the testing; will send new patch with addressing your comments and test on qemux86 and qemux86_64. Thanks, Leo -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH v1 1/4] Ply: Add recipe for git version
fails to build fot x86/musl http://errors.yoctoproject.org/Errors/Details/391871/ On Mon, Feb 17, 2020 at 9:26 PM Leo Yan wrote: > > 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 > --- > 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 0..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 > > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH v1 1/4] Ply: Add recipe for git version
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 --- 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 0..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 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel