From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] networkmanager: enable ppp support
Date: Wed, 21 Oct 2015 15:06:26 +0200 [thread overview]
Message-ID: <20151021130626.GA22280@localhost.localdomain> (raw)
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
diff --git a/rules/networkmanager.in b/rules/networkmanager.in
index b4af2b2..e932547 100644
--- a/rules/networkmanager.in
+++ b/rules/networkmanager.in
@@ -19,6 +19,7 @@ menuconfig NETWORKMANAGER
select UDEV if RUNTIME
select LIBGUDEV
select MODEMMANAGER if NETWORKMANAGER_WWAN
+ select PPP if NETWORKMANAGER_PPP
select WPA_SUPPLICANT if NETWORKMANAGER_WIRELESS && RUNTIME
select WPA_SUPPLICANT_CTRL_IFACE_DBUS if NETWORKMANAGER_WIRELESS && RUNTIME
select DBUS_PYTHON if NETWORKMANAGER_EXAMPLES && RUNTIME
@@ -64,6 +65,10 @@ config NETWORKMANAGER_WWAN
bool
prompt "enable WWAN support"
+config NETWORKMANAGER_PPP
+ bool
+ prompt "enable ppp support"
+
config NETWORKMANAGER_EXAMPLES
bool
prompt "install examples for Network Manager"
diff --git a/rules/networkmanager.make b/rules/networkmanager.make
index 842c4e2..e77770d 100644
--- a/rules/networkmanager.make
+++ b/rules/networkmanager.make
@@ -47,7 +47,7 @@ NETWORKMANAGER_CONF_OPT := \
--disable-wimax \
--disable-polkit \
--disable-modify-system \
- --disable-ppp \
+ --$(call ptx/endis,PTXCONF_NETWORKMANAGER_PPP)-ppp \
--disable-bluez5-dun \
--disable-concheck \
--enable-more-warnings \
@@ -76,6 +76,10 @@ NETWORKMANAGER_CONF_OPT := \
--without-valgrind \
--without-tests
+ifdef PTXCONF_NETWORKMANAGER_PPP
+NETWORKMANAGER_CONF_OPT += \
+ --with-pppd-plugin-dir=$(PPP_SHARED_INST_PATH)
+endif
ifdef PTXCONF_NETWORKMANAGER_WWAN
NETWORKMANAGER_LDFLAGS := \
@@ -180,6 +184,9 @@ ifdef PTXCONF_NETWORKMANAGER_WWAN
@$(call install_lib, networkmanager, 0, 0, 0644, NetworkManager/libnm-device-plugin-wwan)
@$(call install_lib, networkmanager, 0, 0, 0644, NetworkManager/libnm-wwan)
endif
+ifdef PTXCONF_NETWORKMANAGER_PPP
+ @$(call install_copy, networkmanager, 0, 0, 0644, -, $(PPP_SHARED_INST_PATH)/nm-pppd-plugin.so)
+endif
@$(call install_lib, networkmanager, 0, 0, 0644, libnm)
@$(call install_lib, networkmanager, 0, 0, 0644, libnm-util)
@$(call install_lib, networkmanager, 0, 0, 0644, libnm-glib)
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2015-10-21 13:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-21 13:06 Ladislav Michl [this message]
2015-10-21 19:02 ` [ptxdist] [PATCH] v2 " Ladislav Michl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151021130626.GA22280@localhost.localdomain \
--to=ladis@linux-mips.org \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox