2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-11 16:42:03 +01:00
|
|
|
#
|
|
|
|
# luainterpreter
|
|
|
|
#
|
2014-03-05 08:56:35 +01:00
|
|
|
################################################################################
|
2014-01-11 16:42:03 +01:00
|
|
|
|
2014-01-17 18:47:35 +01:00
|
|
|
LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
|
|
|
|
|
2017-02-23 18:00:47 +01:00
|
|
|
# Lua packages often install documentation, clean that up globally
|
|
|
|
# Since luainterpreter is a virtual package, we can't use
|
|
|
|
# LUAINTERPRETER_TARGET_FINALIZE_HOOKS
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
|
|
|
|
define LUAINTERPRETER_REMOVE_DOC
|
|
|
|
rm -rf $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/doc
|
|
|
|
endef
|
|
|
|
|
|
|
|
TARGET_FINALIZE_HOOKS += LUAINTERPRETER_REMOVE_DOC
|
|
|
|
endif
|
|
|
|
|
2014-04-05 17:21:53 +02:00
|
|
|
$(eval $(virtual-package))
|
2014-07-19 16:38:56 +02:00
|
|
|
$(eval $(host-virtual-package))
|
2014-07-19 16:38:57 +02:00
|
|
|
|
2017-10-21 22:54:57 +02:00
|
|
|
LUA_RUN = $(HOST_DIR)/bin/lua
|