Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] nano: needs mmu
@ 2013-10-03  2:13 Axel Lin
  2013-10-03 10:12 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-10-03  2:13 UTC (permalink / raw)
  To: buildroot

Fix below build error if !BR2_USE_MMU:

text.o: In function `execute_command':
text.c:(.text+0x7f8): undefined reference to `fork'
text.o: In function `do_int_speller':
text.c:(.text+0x3480): undefined reference to `fork'
text.c:(.text+0x34f4): undefined reference to `fork'
text.c:(.text+0x3568): undefined reference to `fork'
text.o: In function `do_alt_speller':
text.c:(.text+0x3914): undefined reference to `fork'
collect2: ld returned 1 exit status
make[3]: *** [nano] Error 1

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

diff --git a/package/nano/Config.in b/package/nano/Config.in
index ef7f69d..036313f 100644
--- a/package/nano/Config.in
+++ b/package/nano/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NANO
 	bool "nano"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NCURSES
 	help
 	  A nice ncurses-based editor. Started out as a clone of pico.
-- 
1.8.1.2

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

end of thread, other threads:[~2013-10-03 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03  2:13 [Buildroot] [PATCH] nano: needs mmu Axel Lin
2013-10-03 10:12 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox