flex: fix build for nommu systems
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 30 Nov 2012 00:46:03 +0000 (00:46 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 30 Nov 2012 19:52:38 +0000 (11:52 -0800)
commitbd72a13a4ca3033bacbaf9e9a2b424acf149f83d
tree6cdff76bc37a9f92835b34bcef4fcd2ceab3ac60
parente2af1822252af1a70a5b199921ede15572b46d0e
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>
package/flex/Config.in
package/flex/flex.mk