pppd: needs mmu and shared objects
authorAxel Lin <axel.lin@ingics.com>
Mon, 30 Sep 2013 09:18:47 +0000 (17:18 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Oct 2013 19:37:21 +0000 (21:37 +0200)
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.

[Peter: move below suboptions]
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pppd/Config.in

index 879b263cf3832d9ccb733d16cd907f2f35d81346..ba35fed20cd4fe355ba42c6f5edb309f8e2ace86 100644 (file)
@@ -1,5 +1,7 @@
 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.
 
@@ -19,3 +21,7 @@ config BR2_PACKAGE_PPPD_RADIUS
        bool "radius"
        help
          Install RADIUS support for pppd
+
+comment "pppd requires a toolchain with dynamic library support"
+       depends on BR2_PREFER_STATIC_LIB
+       depends on BR2_USE_MMU