network-manager: add support for pppd
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
e63802618d
commit
42389cbcae
@ -26,6 +26,15 @@ config BR2_PACKAGE_NETWORK_MANAGER
|
|||||||
|
|
||||||
http://projects.gnome.org/NetworkManager/
|
http://projects.gnome.org/NetworkManager/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_NETWORK_MANAGER
|
||||||
|
|
||||||
|
config BR2_PACKAGE_NETWORK_MANAGER_PPPD
|
||||||
|
bool "pppd support"
|
||||||
|
select BR2_PACKAGE_PPPD
|
||||||
|
help
|
||||||
|
This option enables support for PPPD daemon
|
||||||
|
endif
|
||||||
|
|
||||||
comment "NetworkManager needs udev /dev management and a toolchain w/ IPv6, largefile, wchar, threads"
|
comment "NetworkManager needs udev /dev management and a toolchain w/ IPv6, largefile, wchar, threads"
|
||||||
depends on !BR2_avr32
|
depends on !BR2_avr32
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
@ -29,11 +29,17 @@ NETWORK_MANAGER_CONF_OPT = \
|
|||||||
--disable-gtk-doc \
|
--disable-gtk-doc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--with-crypto=gnutls \
|
--with-crypto=gnutls \
|
||||||
--disable-ppp \
|
|
||||||
--with-iptables=/usr/sbin/iptables \
|
--with-iptables=/usr/sbin/iptables \
|
||||||
--disable-ifupdown \
|
--disable-ifupdown \
|
||||||
--disable-ifnet
|
--disable-ifnet
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_PPPD),y)
|
||||||
|
NETWORK_MANAGER_DEPENDENCIES += pppd
|
||||||
|
NETWORK_MANAGER_CONF_OPT += --enable-ppp
|
||||||
|
else
|
||||||
|
NETWORK_MANAGER_CONF_OPT += --disable-ppp
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y)
|
ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y)
|
||||||
NETWORK_MANAGER_CONF_OPT += --with-dhclient=/usr/sbin/dhclient
|
NETWORK_MANAGER_CONF_OPT += --with-dhclient=/usr/sbin/dhclient
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user