Update buidlroot to version 2016.08.1
This commit is contained in:
18
bsp/buildroot/package/turbolua/Config.in
Normal file
18
bsp/buildroot/package/turbolua/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_TURBOLUA
|
||||
bool "turbolua"
|
||||
depends on BR2_PACKAGE_LUAJIT
|
||||
help
|
||||
Turbo.lua is a framework built for LuaJIT 2 to simplify the
|
||||
task of building fast and scalable network applications. It
|
||||
uses a event-driven, non-blocking, no thread design to deliver
|
||||
excellent performance and minimal footprint to high-load
|
||||
applications while also providing excellent support for
|
||||
embedded uses. The toolkit can be used for HTTP REST API’s,
|
||||
traditional dynamic web pages through templating, open
|
||||
connections like WebSockets, or just as high level building
|
||||
blocks for native speed network applications.
|
||||
|
||||
http://www.turbolua.org
|
||||
|
||||
comment "turbolua needs LuaJIT"
|
||||
depends on !BR2_PACKAGE_LUAJIT
|
||||
2
bsp/buildroot/package/turbolua/turbolua.hash
Normal file
2
bsp/buildroot/package/turbolua/turbolua.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 bff771b6a670f764366eff50e1644f1c5d8d526324e0b6adfda42d9f69791833 turbolua-6fbc5cbfed1cc8c3820d4c1bfb55258c764040f0.tar.gz
|
||||
33
bsp/buildroot/package/turbolua/turbolua.mk
Normal file
33
bsp/buildroot/package/turbolua/turbolua.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# turbolua
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TURBOLUA_VERSION = 6fbc5cbfed1cc8c3820d4c1bfb55258c764040f0
|
||||
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) \
|
||||
LUAJIT_VERSION="$(LUAJIT_VERSION)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
TURBOLUA_MAKE_OPTS += SSL=openssl
|
||||
TURBOLUA_DEPENDENCIES += openssl
|
||||
else
|
||||
TURBOLUA_MAKE_OPTS += SSL=none
|
||||
endif
|
||||
|
||||
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))
|
||||
Reference in New Issue
Block a user