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@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2018-12-05 12:50:59 +00:00
committed by Khem Raj
parent 83c38fc544
commit 120f62d4fb
+4 -2
View File
@@ -10,9 +10,9 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git"
SRCREV = "d7609915db4b57229f7dd4c04b4eabcce637872a" SRCREV = "d7609915db4b57229f7dd4c04b4eabcce637872a"
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SYSTEMD_SERVICE_${PN} = "iwd.service"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 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" PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
EXTRA_OECONF += "--enable-external-ell" EXTRA_OECONF += "--enable-external-ell"
@@ -22,3 +22,5 @@ do_configure_prepend () {
} }
FILES_${PN} += "${datadir}/dbus-1" FILES_${PN} += "${datadir}/dbus-1"
SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}"