mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 20:21:58 +02:00
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
38 lines
1.1 KiB
BlitzBasic
38 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "Wireless daemon for Linux"
|
|
LICENSE = "LGPL-2.1"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
|
|
|
|
inherit autotools pkgconfig systemd
|
|
|
|
DEPENDS = "ell readline dbus"
|
|
|
|
SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git"
|
|
SRCREV = "899d802744b7e12409e259f546ba5594ab90262c"
|
|
S = "${WORKDIR}/git"
|
|
|
|
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"
|
|
|
|
do_configure_prepend () {
|
|
mkdir -p ${S}/build-aux
|
|
}
|
|
|
|
do_install_append() {
|
|
mkdir --parents ${D}${docdir}/${BPN}
|
|
install -m644 ${S}/doc/*.txt ${D}${docdir}/${BPN}
|
|
}
|
|
|
|
FILES_${PN} += "${datadir}/dbus-1 ${libdir}/modules-load.d"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}"
|
|
|
|
RRECOMMENDS_${PN} = "\
|
|
kernel-module-pkcs7-message \
|
|
kernel-module-pkcs8-key-parser \
|
|
kernel-module-x509-key-parser \
|
|
"
|