0f9c0bf3d5
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
776 B
Makefile
24 lines
776 B
Makefile
################################################################################
|
|
#
|
|
# luainterpreter
|
|
#
|
|
################################################################################
|
|
|
|
LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
|
|
|
|
# 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
|
|
|
|
$(eval $(virtual-package))
|
|
$(eval $(host-virtual-package))
|
|
|
|
LUA_RUN = $(HOST_DIR)/bin/$(call qstrip,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER))
|