d2c997e6b0
For the same reason as for ipsec-tools [1], disable pppd for musl
toolchains.
It also include <sys/cdefs.h> which is not provided by musl [2].
This fixes a compilation error with musl libc because of undeclared
__P and missing sys/cdefs.h include.
Propagate the dependency to network-manager and rp-pppoe
packages.
[1] 33499484e4
[2] http://wiki.musl-libc.org/wiki/FAQ#Q:_I.27m_trying_to_compile_something_against_musl_and_I_get_error_messages_about_sys.2Fcdefs.h
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add Config.in comment in network-manager.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
720 B
Plaintext
31 lines
720 B
Plaintext
config BR2_PACKAGE_PPPD
|
|
bool "pppd"
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree
|
|
depends on BR2_USE_MMU
|
|
help
|
|
An implementation of the Point-to-point protocol.
|
|
|
|
http://www.samba.org/ppp/
|
|
|
|
if BR2_PACKAGE_PPPD
|
|
|
|
config BR2_PACKAGE_PPPD_FILTER
|
|
select BR2_PACKAGE_LIBPCAP
|
|
bool "filtering"
|
|
help
|
|
Packet filtering abilities for pppd. If enabled,
|
|
the pppd active-filter and pass-filter options
|
|
are available.
|
|
|
|
config BR2_PACKAGE_PPPD_RADIUS
|
|
bool "radius"
|
|
help
|
|
Install RADIUS support for pppd
|
|
|
|
endif
|
|
|
|
comment "pppd needs a uClibc or glibc toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
|
|
depends on BR2_USE_MMU
|