All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Lin <axel.lin@ingics.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] pppd: needs mmu and shared objects
Date: Mon, 30 Sep 2013 17:18:47 +0800	[thread overview]
Message-ID: <1380532727.13663.1.camel@phoenix> (raw)

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.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 package/pppd/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/pppd/Config.in b/package/pppd/Config.in
index 879b263..074c2fd 100644
--- a/package/pppd/Config.in
+++ b/package/pppd/Config.in
@@ -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
-- 
1.8.1.2

             reply	other threads:[~2013-09-30  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30  9:18 Axel Lin [this message]
2013-10-01 19:37 ` [Buildroot] [PATCH] pppd: needs mmu and shared objects Peter Korsgaard

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=1380532727.13663.1.camel@phoenix \
    --to=axel.lin@ingics.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.