libsoc: new recipe
PATCH v2 1/1 libsoc: new recipe
From: Jack Mitchell <[email protected]>
---
Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc" + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +do_configure_prepend () { + ./autogen.sh +}
Signature · 1 line
1.8.4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 13-09-13 15:22, Jack Mitchell schreef:
Quoted 11 lines
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]> ---Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
(quoted diff) +0
-0
Quoted 9 lines
b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file mode 100644 index 0000000..e91e152 ---
/dev/null+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc"
Isn't that automatically implied with gcc-cross?
Quoted 3 lines
+ +SRCREV = "
0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +do_configure_prepend () { + ./autogen.sh +}
What is autotools.bbclass missing that autogen does?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFSMx6rMkyGM64RGpERArDxAJwKCadoIk9k805PYnEChUKBRuSMrACeOUyq 0+C2PxH9+SPbYA8QgwAmrdE=
=c9HA
-----END PGP SIGNATURE-----
Quoted 14 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 13-09-13 15:22, Jack Mitchell schreef:
Quoted 10 lines
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]> ---Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
Quoted 12 lines
Quoted 10 lines
(quoted diff) +0
-0b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file mode 100644 index 0000000..e91e152 ---
/dev/null+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc"Isn't that automatically implied with gcc-cross?
I wasn't sure, so I thought I would stick it in and see if anyone piped up, I'll remove it in v3.
Also on that note I noticed that Apache2 also DEPENDS on libgcc, is that also wrong?
Quoted 6 lines
Quoted 4 lines
+ +SRCREV = "
0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +do_configure_prepend () { + ./autogen.sh +}What is autotools.bbclass missing that autogen does?
Apparently nothing, just tested and it built fine.
v3 incoming.
Cheers,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer Cambrideshire, UK http://www.embed.me.uk --
Quoted 25 lines · On Friday 13 September 2013 15:23:36 Jack Mitchell wrote:
Quoted 11 lines · Koen Kooi
Op 13-09-13 15:22, Jack Mitchell schreef:
Quoted 10 lines
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]> ---Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
Quoted 12 lines
Quoted 10 lines
(quoted diff) +0
-0b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file mode 100644 index 0000000..e91e152 ---
/dev/null+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc"Isn't that automatically implied with gcc-cross?
Quoted 5 lines
I wasn't sure, so I thought I would stick it in and see if anyone piped up, I'll remove it in v3.
Also on that note I noticed that Apache2 also DEPENDS on libgcc, is that also wrong?
I don't know anything about this particular recipe, but IIRC, apache complains if libgcc is not installed at runtime, and at least when I added that to the recipe it was not being installed otherwise.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 13-09-13 16:53, Paul Eggleton schreef:
Quoted 29 lines · On Friday 13 September 2013 15:23:36 Jack Mitchell wrote:
Quoted 28 lines · Koen Kooi
Quoted 11 lines
Op 13-09-13 15:22, Jack Mitchell schreef:
Quoted 10 lines
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]> ---Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
Quoted 12 lines
Quoted 10 lines
(quoted diff) +0
-0b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file mode 100644 index 0000000..e91e152 ---
/dev/null+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc"Isn't that automatically implied with gcc-cross?
I wasn't sure, so I thought I would stick it in and see if anyone piped up, I'll remove it in v3.
Quoted 6 lines
Quoted 2 lines
Also on that note I noticed that Apache2 also DEPENDS on libgcc, is that also wrong?
I don't know anything about this particular recipe, but IIRC, apache complains if libgcc is not installed at runtime, and at least when I added that to the recipe it was not being installed otherwise.
But that's RDEPENDS, no?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFSMyevMkyGM64RGpERAnlAAJ0aAfuIr7y4hfWWnFYZxDpO1PkEFQCfZ0Us 8RLlJNtHvW+K3PCXSPAsTFo=
=Wfci
-----END PGP SIGNATURE-----
Quoted 40 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 13-09-13 16:53, Paul Eggleton schreef:
Quoted 29 lines · On Friday 13 September 2013 15:23:36 Jack Mitchell wrote:
Quoted 28 lines · Koen Kooi
Quoted 11 lines
Op 13-09-13 15:22, Jack Mitchell schreef:
Quoted 10 lines
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]> ---Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
Quoted 12 lines
Quoted 10 lines
(quoted diff) +0
-0b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file mode 100644 index 0000000..e91e152 ---
/dev/null+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc"Isn't that automatically implied with gcc-cross?
I wasn't sure, so I thought I would stick it in and see if anyone piped up, I'll remove it in v3.
Quoted 6 lines
Quoted 2 lines
Also on that note I noticed that Apache2 also DEPENDS on libgcc, is that also wrong?
I don't know anything about this particular recipe, but IIRC, apache complains if libgcc is not installed at runtime, and at least when I added that to the recipe it was not being installed otherwise.
Quoted 5 lines
But that's RDEPENDS, no?
regards,
Koen
My apologies, I just checked and it is as an RDEPENDS. The reason that I put libgcc in the DEPENDS is that when I was developing libsoc I ran into a function (pthread_cancel) which required libgcc.so.1 to be on the rootfs, which it wasn't. Having just checked a new build now, with only core-image-minimal there doesn't appear to be any libgcc.so.1 in the rootfs again, so should I have libgcc in RDEPENDS? I thought OE put all the libraries it linked against in the rootfs automatically... or have I misunderstood?
Cheers,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer Cambrideshire, UK http://www.embed.me.uk --
Quoted 56 lines · Jack Mitchell
Quoted 40 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 13-09-13 16:53, Paul Eggleton schreef:
Quoted 29 lines · On Friday 13 September 2013 15:23:36 Jack Mitchell wrote:
Quoted 28 lines · Koen Kooi
Quoted 11 lines
Op 13-09-13 15:22, Jack Mitchell schreef:
Quoted 10 lines
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]> ---Change from v1: added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
Quoted 12 lines
Quoted 10 lines
(quoted diff) +0
-0b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file mode 100644 index 0000000..e91e152 ---
/dev/null+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals through generic kernel interfaces" +HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +DEPENDS = "libgcc"Isn't that automatically implied with gcc-cross?
I wasn't sure, so I thought I would stick it in and see if anyone piped up, I'll remove it in v3.
Quoted 6 lines
Quoted 2 lines
Also on that note I noticed that Apache2 also DEPENDS on libgcc, is that also wrong?
I don't know anything about this particular recipe, but IIRC, apache complains if libgcc is not installed at runtime, and at least when I added that to the recipe it was not being installed otherwise.
Quoted 5 lines
But that's RDEPENDS, no?
regards,
Koen
My apologies, I just checked and it is as an RDEPENDS. The reason that I put libgcc in the DEPENDS is that when I was developing libsoc I ran into a function (
pthread_cancel) which required libgcc.so.1 to be on the rootfs, which it wasn't. Having just checked a new build now, with only core-image-minimal there doesn't appear to be any libgcc.so.1 in the rootfs again, so should I have libgcc in RDEPENDS? I thought OE put all the libraries it linked against in the rootfs automatically... or have I misunderstood?
Quoted 3 lines
Cheers,
Ah-hah, some context:
http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/37086
So, based on that it seems as though it was never really resolved and having just checked eglibc,inc, the line mentioned in the above thread is still commented.
So, as tackling this eglibc problem is way above my league (I'd probably hinder more than help!) I'm going to do a v4 with RDEPENDS on libgcc.
I'll search for a bug report, and if there isn't one I'll do my best to submit a suitably informative one.
Cheers,
Signature · 5 lines
Jack Mitchell ([email protected]) Embedded Systems Engineer Cambrideshire, UK http://www.embed.me.uk --