From: Axel Lin Date: Thu, 3 Oct 2013 02:13:32 +0000 (+0800) Subject: nano: needs mmu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b901a16634d5bc66f14df87a04310a382c6e8e0;p=buildroot.git 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 --- 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.