fe6a9e5e9d
For proper runtime execution, flex requires m4 to be installed. Passing a M4 variable at configure time is needed, otherwise flex on the target will try to use a 'm4' binary with a build machine path. Fixes bug #4988. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
492 B
Plaintext
19 lines
492 B
Plaintext
config BR2_PACKAGE_FLEX
|
|
bool "flex"
|
|
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
|
help
|
|
A fast lexical analyser generator. A tool for generating
|
|
programs that perform pattern-matching on text.
|
|
|
|
http://flex.sourceforge.net/
|
|
|
|
config BR2_PACKAGE_FLEX_BINARY
|
|
bool "Install tool in the target"
|
|
# needs fork()
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_FLEX
|
|
# runtime dependency
|
|
select BR2_PACKAGE_M4
|
|
help
|
|
Install the flex binary tool in the target filesystem.
|