diff mbox series

[1/3] musl-obstack: Add recipe

Message ID 20190522013228.7591-1-raj.khem@gmail.com
State Superseded
Headers show
Series [1/3] musl-obstack: Add recipe | expand

Commit Message

Khem Raj May 22, 2019, 1:32 a.m. UTC
obstacks from GNUlib is used in some OE-Core packages e.g. elfutils
and other packages outside OE-Core, this recipe helps provide this
functionality standalone on musl systems, and helps in getting full
versions of dependent packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/recipes-core/musl/musl-obstack.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta/recipes-core/musl/musl-obstack.bb

-- 
2.21.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Richard Purdie May 22, 2019, 11:10 a.m. UTC | #1
On Tue, 2019-05-21 at 18:32 -0700, Khem Raj wrote:
> obstacks from GNUlib is used in some OE-Core packages e.g. elfutils

> and other packages outside OE-Core, this recipe helps provide this

> functionality standalone on musl systems, and helps in getting full

> versions of dependent packages

> 

> Signed-off-by: Khem Raj <raj.khem@gmail.com>

> ---

>  meta/recipes-core/musl/musl-obstack.bb | 22 ++++++++++++++++++++++

>  1 file changed, 22 insertions(+)

>  create mode 100644 meta/recipes-core/musl/musl-obstack.bb


https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/623

Cheers,

Richard

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Khem Raj May 22, 2019, 3:39 p.m. UTC | #2
On Wed, May 22, 2019 at 4:10 AM Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>

> On Tue, 2019-05-21 at 18:32 -0700, Khem Raj wrote:

> > obstacks from GNUlib is used in some OE-Core packages e.g. elfutils

> > and other packages outside OE-Core, this recipe helps provide this

> > functionality standalone on musl systems, and helps in getting full

> > versions of dependent packages

> >

> > Signed-off-by: Khem Raj <raj.khem@gmail.com>

> > ---

> >  meta/recipes-core/musl/musl-obstack.bb | 22 ++++++++++++++++++++++

> >  1 file changed, 22 insertions(+)

> >  create mode 100644 meta/recipes-core/musl/musl-obstack.bb

>

> https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/623

>


this was due to missing pkgconfig inherit I believe.  I have sent a v2 now see

https://patchwork.openembedded.org/patch/161515/

> Cheers,

>

> Richard

>

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-core/musl/musl-obstack.bb b/meta/recipes-core/musl/musl-obstack.bb
new file mode 100644
index 0000000000..9a9f04dac6
--- /dev/null
+++ b/meta/recipes-core/musl/musl-obstack.bb
@@ -0,0 +1,22 @@ 
+# Copyright (C) 2019 Khem Raj <raj.khem@gmail.com>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "A standalone library to implement GNU libc's obstack"
+DESCRIPTION = "copy + paste of the obstack functions and macros found in GNU gcc libiberty library for use with musl libc"
+HOMEPAGE = "https://github.com/pullmoll/musl-obstack"
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=3d23e4eef8243efcaab6f0a438078932"
+SECTION = "libs"
+
+PV = "1.1"
+SRCREV = "d2ad66b0df44a4b784956f7f7f2717131ddc05f4"
+SRC_URI = "git://github.com/pullmoll/musl-obstack"
+
+UPSTREAM_CHECK_COMMITS = "1"
+
+inherit autotools
+
+S = "${WORKDIR}/git"
+
+COMPATIBLE_HOST = ".*-musl.*"
+