From 3b901a16634d5bc66f14df87a04310a382c6e8e0 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Thu, 3 Oct 2013 10:13:32 +0800 Subject: [PATCH] nano: needs mmu 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 [Peter: fork() only in full version, so force tiny for !mmu] Signed-off-by: Axel Lin Signed-off-by: Peter Korsgaard --- package/nano/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/nano/Config.in b/package/nano/Config.in index ef7f69df36..9546fe7813 100644 --- a/package/nano/Config.in +++ b/package/nano/Config.in @@ -1,5 +1,7 @@ config BR2_PACKAGE_NANO bool "nano" + # full version uses fork() + select BR2_PACKAGE_NANO_TINY if !BR2_USE_MMU select BR2_PACKAGE_NCURSES help A nice ncurses-based editor. Started out as a clone of pico. -- 2.30.2