Skip to contentSkip to conversation

pppd: needs mmu and shared objects

PATCH New Axel Lin 2 participants 2 messages Sep 30, 2013 – Oct 1, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 pppd: needs mmu and shared objects

The plugin infrastructure is based on shared objects so it won't build for static-only scenarios.
And the daemon uses fork() so MMU is required.

---
 package/pppd/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/pppd/Config.in +6 -0
index 879b263..074c2fd 100644
@@ -1,10 +1,16 @@
 config BR2_PACKAGE_PPPD
 	bool "pppd"
+	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_USE_MMU
 	help
 	  An implementation of the Point-to-point protocol.
 
 	  http://www.samba.org/ppp/
 
+comment "pppd requires a toolchain with dynamic library support"
+	depends on BR2_PREFER_STATIC_LIB
+	depends on BR2_USE_MMU
+
 config BR2_PACKAGE_PPPD_FILTER
 	depends on BR2_PACKAGE_PPPD
 	select BR2_PACKAGE_LIBPCAP
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 pppd: needs mmu and shared objects

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Axel" == Axel Lin <[email protected]> writes:

Axel> The plugin infrastructure is based on shared objects so it won't build Axel> for static-only scenarios.
Axel> And the daemon uses fork() so MMU is required.

Axel> Signed-off-by: Axel Lin <[email protected]> Axel> ---

 Axel>  package/pppd/Config.in | 6 ++++++

Axel> 1 file changed, 6 insertions(+)

Axel> diff --git a/package/pppd/Config.in b/package/pppd/Config.in Axel> index 879b263..074c2fd 100644
Axel> --- a/package/pppd/Config.in
Axel> +++ b/package/pppd/Config.in
Axel> @@ -1,10 +1,16 @@
Axel> config BR2_PACKAGE_PPPD
Axel> bool "pppd"
Axel> + depends on !BR2_PREFER_STATIC_LIB
Axel> + depends on BR2_USE_MMU
Axel> help
Axel> An implementation of the Point-to-point protocol.

Axel> http://www.samba.org/ppp/

Axel> +comment "pppd requires a toolchain with dynamic library support"
Axel> + depends on BR2_PREFER_STATIC_LIB
Axel> + depends on BR2_USE_MMU
Axel> +

This needs to go under the sub options otherwise they won't get properly indented.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard