bd72a13a4c
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>
16 lines
393 B
Plaintext
16 lines
393 B
Plaintext
config BR2_PACKAGE_FLEX
|
|
bool "flex"
|
|
help
|
|
A fast lexical analyser generator. A tool for generating
|
|
programs that perform pattern-matching on text.
|
|
|
|
http://www.gnu.org/software/flex/
|
|
|
|
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 the flex binary tool in the target filesystem.
|