libsoc: new recipe
PATCH v5 1/1 libsoc: new recipe
From: Jack Mitchell <[email protected]>
---
v4 -> v5
- Moved RDEPENDS to below do_install
v3 -> v4
- Added libgcc in RDEPENDS
v2 -> v3
- Removed DEPENDS on libgcc
- Removed autogen.sh pre-configure as was unneeded
v1 -> v2
-added signed-off-by
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +14 -0
@@ -0,0 +1,14 @@ +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 + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "libgcc"
Signature · 1 line
1.8.4
Quoted 3 lines · Jack Mitchell
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]>
...
The recipe is clean now ... but ...
Quoted 7 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +4
-0@@ -0,0 +1,14 @@ +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"
meta-oe/recipes-support/libsoc/libsoc_0.3.bb line 14
Quoted 10 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +10
-0+LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "libgcc"
I am a little concerned /why/ this is need. Your code seems quite simple and I don't understand why this special need. Did you try to install and use it without this RDEPENDS ? It should work just fine.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 20 lines · Otavio Salvador
Quoted 3 lines · Jack Mitchell
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]>...
The recipe is clean now ... but ...
Quoted 12 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +9
-0@@ -0,0 +1,14 @@ +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 + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70"
Quoted 9 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb line 14
Quoted 5 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +5
-0+SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "libgcc"I am a little concerned /why/ this is need. Your code seems quite simple and I don't understand why this special need. Did you try to install and use it without this RDEPENDS ? It should work just fine.
There seems to be a bug with the eglibc recipe as noted in a previous discussion [1] where pthreads requires libgcc.so to be available but it isn't pulled in as a requirement. Now, I believe this goes largly unnoticed as there are very few functions which actually require the libgcc.so lib, but it happens that one of the functions I use (pthread_cancel), does require it, so I run into this bug and as such have to depened on RDEPENDS = "libgcc" in order to ensure it is in the rootfs.
In the next version of the library I think I am going to see if I can work round using pthread_cancel in favour of a less awkward function.
Cheers,
Jack.
[1] http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/37086
Otavio Salvador
Acked-byQuoted 45 lines · Jack Mitchell
Quoted 26 lines · Otavio Salvador
Quoted 4 lines · Jack Mitchell
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]>...
The recipe is clean now ... but ...
Quoted 14 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +1
-0@@ -0,0 +1,14 @@ +SUMMARY = "libsoc is a C library for interfacing with common SoCperipherals through generic kernel interfaces"
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +9
-0+HOMEPAGE = "https://github.com/jackmitch/libsoc" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git"Quoted 9 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb line 14
Quoted 4 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +4
-0+ +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "libgcc"I am a little concerned /why/ this is need. Your code seems quite simple and I don't understand why this special need. Did you try to install and use it without this RDEPENDS ? It should work just fine.
There seems to be a bug with the eglibc recipe as noted in a previous discussion [1] where pthreads requires libgcc.so to be available but it isn't pulled in as a requirement. Now, I believe this goes largly unnoticed as there are very few functions which actually require the libgcc.so lib, but it happens that one of the functions I use (
pthread_cancel), does require it, so I run into this bug and as such have to depened on RDEPENDS = "libgcc" in order to ensure it is in the rootfs.
Quoted 8 lines
In the next version of the library I think I am going to see if I can work round using
pthread_cancelin favour of a less awkward function.Cheers,
Jack.[1] http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/37086
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 31 lines · Jack Mitchell
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]>---
v4 -> v5
- Moved RDEPENDS to belowdo_installv3 -> v4
- Added libgcc in RDEPENDSv2 -> v3
- Removed DEPENDS on libgcc
- Removedautogen.shpre-configure as was unneededv1 -> v2
-added signed-off-bymeta-oe/recipes-support/libsoc/libsoc_0.3.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+)create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +4
-0@@ -0,0 +1,14 @@ +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"
meta-oe/recipes-support/libsoc/libsoc_0.3.bb line 14
Quoted 10 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +10
-0+LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a718922225ba987b2126a5" + +inherit autotools + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "libgcc"
While Koen is away would someone mind pulling this in if there are no more comments?
Cheers,
Jack
Martin Jansa
AppliedQuoted 10 lines · Jack Mitchell
From: Jack Mitchell <[email protected]>
Signed-off-by Jack Mitchell <[email protected]>---
v4 -> v5
- Moved RDEPENDS to belowdo_installv3 -> v4
- Added libgcc in RDEPENDS
Quoted 6 lines
v2 -> v3
- Removed DEPENDS on libgcc
- Removedautogen.shpre-configure as was unneededv1 -> v2
-added signed-off-by
Merged, thanks
Quoted 32 lines
meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bbmeta-oe/recipes-support/libsoc/libsoc_0.3.bb new file +14
-0@@ -0,0 +1,14 @@ +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 + +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70" +SRC_URI = "git://github.com/jackmitch/libsoc.git" + +S = "${WORKDIR}/git" + +RDEPENDS_${PN} = "libgcc"Signature · 6 lines
1.8.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]