xref: /OK3568_Linux_fs/buildroot/package/pppd/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PPPD
2	bool "pppd"
3	depends on !BR2_STATIC_LIBS
4	depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree
5	depends on BR2_USE_MMU
6	select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC
7	select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL \
8						 && BR2_TOOLCHAIN_USES_GLIBC
9	help
10	  An implementation of the Point-to-point protocol.
11
12	  http://www.samba.org/ppp/
13
14if BR2_PACKAGE_PPPD
15
16config BR2_PACKAGE_PPPD_FILTER
17	bool "filtering"
18	select BR2_PACKAGE_LIBPCAP
19	help
20	  Packet filtering abilities for pppd. If enabled,
21	  the pppd active-filter and pass-filter options
22	  are available.
23
24config BR2_PACKAGE_PPPD_RADIUS
25	bool "radius"
26	help
27	  Install RADIUS support for pppd
28
29config BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF
30	bool "overwrite /etc/resolv.conf"
31	default y
32	help
33	  Overwrite /etc/resolv.conf instead of maintaining the
34	  separate list of nameservers in /etc/ppp/resolv.conf
35
36	  Note that the pppd default of writing to /etc/ppp/resolv.conf
37	  does not work on a read-only rootfs unless you make it
38	  writable in your rootfs customizations (e.g. by linking it to
39	  a file in tmpfs or by mounting a writable filesystem on it).
40
41endif
42
43comment "pppd needs a uClibc or glibc toolchain w/ dynamic library"
44	depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
45	depends on BR2_USE_MMU
46