e3b18f45f7
Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
780 B
Makefile
28 lines
780 B
Makefile
################################################################################
|
|
#
|
|
# turbolua
|
|
#
|
|
################################################################################
|
|
|
|
TURBOLUA_VERSION = 91db237a6690f4a659cbdee2ebbbbc9741d8ea4c
|
|
TURBOLUA_SITE = $(call github,kernelsauce,turbo,$(TURBOLUA_VERSION))
|
|
TURBOLUA_DEPENDENCIES = luajit
|
|
TURBOLUA_LICENSE = Apache-2.0
|
|
TURBOLUA_LICENSE_FILES = LICENSE
|
|
|
|
TURBOLUA_MAKE_OPTS = \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
SSL=$(if $(BR2_PACKAGE_OPENSSL),openssl,none) \
|
|
LUAJIT_VERSION="$(LUAJIT_VERSION)"
|
|
|
|
define TURBOLUA_BUILD_CMDS
|
|
$(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
|
|
endef
|
|
|
|
define TURBOLUA_INSTALL_TARGET_CMDS
|
|
$(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
|
|
PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|