networkmanager: adjust compilation options
Adjust the compilation time options to save space. https://jira.digi.com/browse/DEL-4577 Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
c5b39acce0
commit
6e2aafd952
|
|
@ -14,13 +14,16 @@ SRC_URI += " \
|
||||||
file://nm.wlan0.static \
|
file://nm.wlan0.static \
|
||||||
"
|
"
|
||||||
|
|
||||||
# 'polkit' and 'consolekit' require 'x11' distro feature, so disable them for non-X11 distros
|
# 'polkit' depends on 'consolekit', and this requires 'x11' distro feature. So
|
||||||
DEPENDS_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'polkit', d)}"
|
# disable those compile time options to be able to build for framebuffer
|
||||||
PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'consolekit', d)}"
|
# based images.
|
||||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '--enable-polkit=disabled', d)}"
|
DEPENDS_remove = "polkit"
|
||||||
|
EXTRA_OECONF += "--enable-polkit=disabled"
|
||||||
|
PACKAGECONFIG_remove = "consolekit"
|
||||||
|
|
||||||
PACKAGECONFIG_remove = "dnsmasq netconfig"
|
# Adjust other compile time options to save space
|
||||||
PACKAGECONFIG_append = " concheck modemmanager ppp"
|
PACKAGECONFIG_remove = "dnsmasq netconfig nss"
|
||||||
|
PACKAGECONFIG_append = " concheck gnutls modemmanager ppp"
|
||||||
|
|
||||||
#
|
#
|
||||||
# NetworkManager only accepts IP addresses in CIDR format
|
# NetworkManager only accepts IP addresses in CIDR format
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue