lua: add option 32bits

[Peter: tweak config/help text]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Francois Perrad
2015-01-16 22:09:52 +01:00
committed by Peter Korsgaard
parent eb8441b861
commit 984bd5a94d
3 changed files with 23 additions and 0 deletions

View File

@@ -33,6 +33,17 @@ config BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
default "5.2" if BR2_PACKAGE_LUA_5_2
default "5.3" if BR2_PACKAGE_LUA_5_3
if BR2_PACKAGE_LUA_5_3
config BR2_PACKAGE_LUA_32BITS
bool "Use 32 bit numbers"
default y if !BR2_ARCH_IS_64
help
Use a 32 bit data type for numbers / integers instead of the
default 64 bit type. This option is particularly attractive
for small machines and embedded systems.
endif
choice
prompt "Lua command-line editing"
default BR2_PACKAGE_LUA_EDITING_NONE