1 ################################################################################
5 ################################################################################
7 LUAINTERPRETER_ABIVER
= $(call qstrip
,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION
))
9 # Lua packages often install documentation, clean that up globally
10 # Since luainterpreter is a virtual package, we can't use
11 # LUAINTERPRETER_TARGET_FINALIZE_HOOKS
12 ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER
),y
)
13 define LUAINTERPRETER_REMOVE_DOC
14 rm -rf
$(TARGET_DIR
)/usr
/share
/lua
/$(LUAINTERPRETER_ABIVER
)/doc
17 TARGET_FINALIZE_HOOKS
+= LUAINTERPRETER_REMOVE_DOC
20 $(eval
$(virtual-package
))
21 $(eval
$(host-virtual-package
))
23 LUA_RUN
= $(HOST_DIR
)/usr
/bin
/$(call qstrip
,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER
))