buildrootschalter/package/luainterpreter/luainterpreter.mk
Francois Perrad 513b1b9b75 luarocks: allow to work with host-luainterpreter
when we embed luajit on target,
we use luarocks with host-luajit instead of host-lua,
in order to use the same interpreter on the both side.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-27 10:44:50 +02:00

13 lines
410 B
Makefile

################################################################################
#
# luainterpreter
#
################################################################################
LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
$(eval $(virtual-package))
$(eval $(host-virtual-package))
LUA_RUN = $(HOST_DIR)/usr/bin/$(call qstrip,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER))