ell: Initial recipe for Embedded Linux Library
PATCH 1/1 ell: Initial recipe for Embedded Linux Library
Based on the ofono recipe, add ell.inc for generic recipe components and use it from ell_git.bb.
Signed-off-by Ankit Navik <[email protected]>
--- meta/recipes-core/ell/ell.inc | 10 ++++++++++ meta/recipes-core/ell/ell_git.bb | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 meta/recipes-core/ell/ell.inc create mode 100644 meta/recipes-core/ell/ell_git.bb
meta/recipes-core/ell/ell.inc new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "Embedded Linux Library" +DESCRIPTION = "ELL is a DBUS library which provides DBUS bindings." +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09" +SECTION = "libs" + +inherit autotools pkgconfig + +DEPENDS = "dbus" +RDEPENDS_${PN} += "dbus"
meta/recipes-core/ell/ell_git.bb new file +9 -0
@@ -0,0 +1,9 @@ +require ell.inc + +S = "${WORKDIR}/git" +SRCREV = "399099946abaeb2f3718a0667cc11436a7c0be14" +SRC_URI = "git://git.kernel.org/pub/scm/libs/ell/ell.git" + +do_configure_prepend () { + ${S}/bootstrap +}
Signature · 1 line
1.9.1
Quoted 3 lines · Ankit Navik
meta/recipes-core/ell/ell.inc | 10 ++++++++++ meta/recipes-core/ell/ell_git.bb | 9 +++++++++
Unless you have other recipes using the .inc file, then just merge these into a single .bb.
meta/recipes-core/ell/ell.inc line 10
Quoted 3 lines
meta/recipes-core/ell/ell.inc new file +2
-0+DEPENDS = "dbus" +RDEPENDS_${PN} += "dbus"
Why the RDEPENDS? Any linking will add libdbus as required.
meta/recipes-core/ell/ell_git.bb line 9
Quoted 4 lines
meta/recipes-core/ell/ell_git.bb new file +3
-0+do_configure_prepend () { + ${S}/bootstrap +}
This just does a mkdir and then calls autoreconf which we do straight away afterwards, so is mostly a waste of time. If we need to create the directory before autoreconf then just do the mkdir in _prepend.
However currently this isn't used by anything in oe-core, so what's the rationale for adding it to oe-core instead of another layer?
Ross