summaryrefslogtreecommitdiffstats
path: root/package/flex/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-11-30 00:46:03 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-11-30 11:52:38 -0800
commitbd72a13a4ca3033bacbaf9e9a2b424acf149f83d (patch)
tree6cdff76bc37a9f92835b34bcef4fcd2ceab3ac60 /package/flex/Config.in
parente2af1822252af1a70a5b199921ede15572b46d0e (diff)
downloadbuildroot-novena-bd72a13a4ca3033bacbaf9e9a2b424acf149f83d.tar.gz
buildroot-novena-bd72a13a4ca3033bacbaf9e9a2b424acf149f83d.zip
flex: fix build for nommu systems
The flex binary uses fork() so it breaks on !MMU builds. Since we usually don't require flex in the target and the common scenario is that we just want libfl in staging reverse the options so that BR2_PACKAGE_FLEX just builds and install libfl.a and change the LIBFL option to BR2_PACKAGE_FLEX_BINARY to install the binary in the target. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/flex/Config.in')
-rw-r--r--package/flex/Config.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
index b10eb0037..adef46867 100644
--- a/package/flex/Config.in
+++ b/package/flex/Config.in
@@ -6,10 +6,10 @@ config BR2_PACKAGE_FLEX
http://www.gnu.org/software/flex/
-config BR2_PACKAGE_FLEX_LIBFL
- bool "Install libfl.a under staging_dir/usr/lib"
- default y
+config BR2_PACKAGE_FLEX_BINARY
+ bool "Install tool in the target"
+ # needs fork()
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_FLEX
help
- Install libfl.a under staging_dir/usr/lib for further development
- on a host machine.
+ Install the flex binary tool in the target filesystem.