diff options
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2022.0.0.0.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2022.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2022.0.0.0.bb index 4b1e35f0..63bc7b6a 100644 --- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2022.0.0.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2022.0.0.0.bb @@ -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" |