[oe-commits] [meta-openembedded] 06/15: iwd: add more PACKAGECONFIG options

git at git.openembedded.org git at git.openembedded.org
Thu Dec 6 18:50:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 120f62d4fbed16517e689b1de6ba58901ae88943
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Wed Dec 5 12:50:59 2018 +0000

    iwd: add more PACKAGECONFIG options
    
    Disabled by default (as per upstream defaults), but expose ofono and wired
    options (wired installs the EAD service).
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-connectivity/iwd/iwd_0.12.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
index a426154..3caad20 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb
@@ -10,9 +10,9 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git"
 SRCREV = "d7609915db4b57229f7dd4c04b4eabcce637872a"
 S = "${WORKDIR}/git"
 
-SYSTEMD_SERVICE_${PN} = "iwd.service"
-
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[wired] = "--enable-wired,--disable-wired"
+PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono"
 PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
 
 EXTRA_OECONF += "--enable-external-ell"
@@ -22,3 +22,5 @@ do_configure_prepend () {
 }
 
 FILES_${PN} += "${datadir}/dbus-1"
+
+SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list