[Buildroot] [git commit] zsh: needs mmu

Peter Korsgaard peter at korsgaard.com
Thu Oct 3 06:40:09 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=05b442a62886f9a6efe5a8a5d025e11d72e8656c
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fix below build error if !BR2_USE_MMU:

exec.o: In function `zfork':
exec.c:(.text+0x150c): undefined reference to `fork'
collect2: ld returned 1 exit status
make[2]: *** [zsh] Error 1

Signed-off-by: Axel Lin <axel.lin at ingics.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/zsh/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/zsh/Config.in b/package/zsh/Config.in
index fd63aa9..6853249 100644
--- a/package/zsh/Config.in
+++ b/package/zsh/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ZSH
 	bool "zsh"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NCURSES
 	help
 	  zsh is a shell designed for interactive use, although it is also


More information about the buildroot mailing list