All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/6] dhcp: needs MMU
@ 2012-04-05 14:17 Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 2/6] openntpd: " Gustavo Zacarias
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2012-04-05 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/dhcp/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/dhcp/Config.in b/package/dhcp/Config.in
index 2245839..38cf007 100644
--- a/package/dhcp/Config.in
+++ b/package/dhcp/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_DHCP
 	bool "isc dhcp"
+	# fork()
+	depends on BR2_USE_MMU
 	help
 	  DHCP relay agent from the ISC DHCP distribution.
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/6] openntpd: needs MMU
  2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
@ 2012-04-05 14:17 ` Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 3/6] wget: " Gustavo Zacarias
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2012-04-05 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/openntpd/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/openntpd/Config.in b/package/openntpd/Config.in
index 32d0d8b..4dd9a29 100644
--- a/package/openntpd/Config.in
+++ b/package/openntpd/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_OPENNTPD
 	bool "openntpd"
+	# fork()
+	depends on BR2_USE_MMU
 	help
 	  OpenNTPD is an easy to use implementation of the Network Time
 	  Protocol. It provides the ability to sync the local clock
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 3/6] wget: needs MMU
  2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 2/6] openntpd: " Gustavo Zacarias
@ 2012-04-05 14:17 ` Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 4/6] ncftp: " Gustavo Zacarias
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2012-04-05 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/wget/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/wget/Config.in b/package/wget/Config.in
index 3877a3a..3f79a64 100644
--- a/package/wget/Config.in
+++ b/package/wget/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_WGET
 	bool "wget"
+	# fork()
+	depends on BR2_USE_MMU
 	help
 	  Network utility to retrieve files from http, https and ftp.
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 4/6] ncftp: needs MMU
  2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 2/6] openntpd: " Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 3/6] wget: " Gustavo Zacarias
@ 2012-04-05 14:17 ` Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 5/6] rsync: " Gustavo Zacarias
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2012-04-05 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/ncftp/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/ncftp/Config.in b/package/ncftp/Config.in
index 7b6ae64..4aaa62d 100644
--- a/package/ncftp/Config.in
+++ b/package/ncftp/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_NCFTP
 	bool "ncftp"
+	# fork()
+	depends on BR2_USE_MMU
 	help
 	  NcFTP Client (also known as just NcFTP) is a set of FREE application
 	  programs implementing the File Transfer Protocol (FTP).
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 5/6] rsync: needs MMU
  2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
                   ` (2 preceding siblings ...)
  2012-04-05 14:17 ` [Buildroot] [PATCH 4/6] ncftp: " Gustavo Zacarias
@ 2012-04-05 14:17 ` Gustavo Zacarias
  2012-04-05 14:17 ` [Buildroot] [PATCH 6/6] dropbear: fix nommu build breakage Gustavo Zacarias
  2012-05-06 18:09 ` [Buildroot] [PATCH 1/6] dhcp: needs MMU Peter Korsgaard
  5 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2012-04-05 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/rsync/Config.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/rsync/Config.in b/package/rsync/Config.in
index 0f33774..be95a7c 100644
--- a/package/rsync/Config.in
+++ b/package/rsync/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_RSYNC
 	bool "rsync"
+	# fork()
+	depends on BR2_USE_MMU
 	help
 	  File transfer program to keep remote files in sync.
 
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 6/6] dropbear: fix nommu build breakage
  2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
                   ` (3 preceding siblings ...)
  2012-04-05 14:17 ` [Buildroot] [PATCH 5/6] rsync: " Gustavo Zacarias
@ 2012-04-05 14:17 ` Gustavo Zacarias
  2012-05-06 18:09 ` [Buildroot] [PATCH 1/6] dhcp: needs MMU Peter Korsgaard
  5 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2012-04-05 14:17 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/dropbear/dropbear-nommu.patch |   19 +++++++++++++++++++
 package/dropbear/dropbear.mk          |    5 +++++
 2 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 package/dropbear/dropbear-nommu.patch

diff --git a/package/dropbear/dropbear-nommu.patch b/package/dropbear/dropbear-nommu.patch
new file mode 100644
index 0000000..cf228e1
--- /dev/null
+++ b/package/dropbear/dropbear-nommu.patch
@@ -0,0 +1,19 @@
+Get rid of the last lingering fork() for nommu systems.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura dropbear-2012.55/svr-main.c dropbear-2012.55-nommu/svr-main.c
+--- dropbear-2012.55/svr-main.c	2012-02-23 10:47:06.000000000 -0300
++++ dropbear-2012.55-nommu/svr-main.c	2012-04-05 10:46:19.639718670 -0300
+@@ -262,7 +262,11 @@
+ #ifdef DEBUG_NOFORK
+ 			fork_ret = 0;
+ #else
++# ifdef __uClinux__
++			fork_ret = vfork();
++# else
+ 			fork_ret = fork();
++# endif
+ #endif
+ 			if (fork_ret < 0) {
+ 				dropbear_log(LOG_WARNING, "Error forking: %s", strerror(errno));
diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk
index fea96d6..3ce5a0e 100644
--- a/package/dropbear/dropbear.mk
+++ b/package/dropbear/dropbear.mk
@@ -10,6 +10,11 @@ DROPBEAR_TARGET_BINS = dbclient dropbearkey dropbearconvert scp ssh
 DROPBEAR_MAKE =	$(MAKE) MULTI=1 SCPPROGRESS=1 \
 		PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp"
 
+# bfin 2011R1-RC4 toolchain doesn't define __uClinux__
+ifneq ($(BR2_USE_MMU),y)
+DROPBEAR_MAKE += CPPFLAGS="-D__uClinux__"
+endif
+
 ifeq ($(BR2_PREFER_STATIC_LIB),y)
 DROPBEAR_MAKE += STATIC=1
 endif
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/6] dhcp: needs MMU
  2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
                   ` (4 preceding siblings ...)
  2012-04-05 14:17 ` [Buildroot] [PATCH 6/6] dropbear: fix nommu build breakage Gustavo Zacarias
@ 2012-05-06 18:09 ` Peter Korsgaard
  5 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2012-05-06 18:09 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed all 6, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-06 18:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 14:17 [Buildroot] [PATCH 1/6] dhcp: needs MMU Gustavo Zacarias
2012-04-05 14:17 ` [Buildroot] [PATCH 2/6] openntpd: " Gustavo Zacarias
2012-04-05 14:17 ` [Buildroot] [PATCH 3/6] wget: " Gustavo Zacarias
2012-04-05 14:17 ` [Buildroot] [PATCH 4/6] ncftp: " Gustavo Zacarias
2012-04-05 14:17 ` [Buildroot] [PATCH 5/6] rsync: " Gustavo Zacarias
2012-04-05 14:17 ` [Buildroot] [PATCH 6/6] dropbear: fix nommu build breakage Gustavo Zacarias
2012-05-06 18:09 ` [Buildroot] [PATCH 1/6] dhcp: needs MMU Peter Korsgaard

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.