summaryrefslogtreecommitdiffstats
path: root/package/lua/Config.in
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2015-01-16 22:09:52 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-02-02 16:09:46 +0100
commit984bd5a94d7cd519fe3b5c3ddc7810b18978d9bc (patch)
tree43f1af9e4e284dd42759cc14843087347a57bc33 /package/lua/Config.in
parenteb8441b861cb9ceaaefa13083aa75322af2c73b9 (diff)
downloadbuildroot-984bd5a94d7cd519fe3b5c3ddc7810b18978d9bc.tar.gz
buildroot-984bd5a94d7cd519fe3b5c3ddc7810b18978d9bc.zip
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>
Diffstat (limited to 'package/lua/Config.in')
-rw-r--r--package/lua/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lua/Config.in b/package/lua/Config.in
index dde999f2c8..d9f85e2c93 100644
--- a/package/lua/Config.in
+++ b/package/lua/Config.in
@@ -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
OpenPOWER on IntegriCloud