mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
lms: add PACKAGECONFIG to select network manager
Allow users to select either ConnMan or Network Manager. Also fixes an
issue introduced because of a recent change in 2022.0.0.0 that removed
the build time check in favor of explicit options to select the right
network manager [1].
[1] 1b8fa45264
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
bc6663d2ca
commit
9d3400dd7e
|
@ -12,10 +12,15 @@ COMPATIBLE_HOST_libc-musl = "null"
|
|||
|
||||
inherit cmake systemd features_check
|
||||
|
||||
DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native connman"
|
||||
DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native"
|
||||
|
||||
EXTRA_OECMAKE += "-DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3"
|
||||
|
||||
# Enable either connman or networkmanager or none but not both.
|
||||
PACKAGECONFIG ??= "connman"
|
||||
PACKAGECONFIG[connman] = "-DNETWORK_CN=ON, -DNETWORK_CN=OFF, connman"
|
||||
PACKAGECONFIG[networkmanager] = "-DNETWORK_NM=ON, -DNETWORK_NM=OFF, networkmanager"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES= "systemd"
|
||||
|
||||
FILES_${PN} += "${datadir}/dbus-1/system-services/*.service"
|
||||
|
|
Loading…
Reference in New Issue
Block a user