From 6e2aafd95279c1806b2bf675d92adc46db00762f Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Wed, 19 Jul 2017 13:05:58 +0200 Subject: [PATCH] networkmanager: adjust compilation options Adjust the compilation time options to save space. https://jira.digi.com/browse/DEL-4577 Signed-off-by: Isaac Hermida --- .../networkmanager/networkmanager_1.0.12.bbappend | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager_1.0.12.bbappend b/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager_1.0.12.bbappend index 0ce3aa24c..f744aa2d4 100644 --- a/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager_1.0.12.bbappend +++ b/meta-digi-dey/recipes-connectivity/networkmanager/networkmanager_1.0.12.bbappend @@ -14,13 +14,16 @@ SRC_URI += " \ file://nm.wlan0.static \ " -# 'polkit' and 'consolekit' require 'x11' distro feature, so disable them for non-X11 distros -DEPENDS_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'polkit', d)}" -PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'consolekit', d)}" -EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '--enable-polkit=disabled', d)}" +# 'polkit' depends on 'consolekit', and this requires 'x11' distro feature. So +# disable those compile time options to be able to build for framebuffer +# based images. +DEPENDS_remove = "polkit" +EXTRA_OECONF += "--enable-polkit=disabled" +PACKAGECONFIG_remove = "consolekit" -PACKAGECONFIG_remove = "dnsmasq netconfig" -PACKAGECONFIG_append = " concheck modemmanager ppp" +# Adjust other compile time options to save space +PACKAGECONFIG_remove = "dnsmasq netconfig nss" +PACKAGECONFIG_append = " concheck gnutls modemmanager ppp" # # NetworkManager only accepts IP addresses in CIDR format