[Buildroot] [PATCH 1/1] lxc: enable lua if package is selected
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Dec 18 09:56:34 UTC 2016
Hello,
On Sun, 18 Dec 2016 00:09:49 +0100, Fabrice Fontaine wrote:
> +ifeq ($(BR2_PACKAGE_LUA),y)
> +LXC_CONF_OPTS += --enable-lua
> +LXC_DEPENDENCIES += lua
> +else
> +LXC_CONF_OPTS += --disable-lua
> +endif
Does it work only with classic Lua, or also with LuaJIT? If it works
with LuaJIT, then we should do:
ifeq ($(BR2_PACKAGE_HAS_LUA_INTERPRETER),y)
LXC_CONF_OPTS += --enable-lua
LXC_DEPENDENCIES += luainterpreter
else
LXC_CONF_OPTS += --disable-lua
endif
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list