2017-09-24 18:18:56 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# lua-cqueues
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LUA_CQUEUES_VERSION = rel-20161215
|
|
|
|
LUA_CQUEUES_SITE = $(call github,wahern,cqueues,$(LUA_CQUEUES_VERSION))
|
|
|
|
LUA_CQUEUES_LICENSE = MIT
|
|
|
|
LUA_CQUEUES_LICENSE_FILES = LICENSE
|
2018-12-11 17:13:44 +01:00
|
|
|
LUA_CQUEUES_DEPENDENCIES = luainterpreter openssl host-m4
|
2017-09-24 18:18:56 +02:00
|
|
|
|
2019-06-14 23:03:36 +02:00
|
|
|
LUA_CQUEUES_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y)
|
|
|
|
LUA_CQUEUES_CFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
2017-09-24 18:18:56 +02:00
|
|
|
define LUA_CQUEUES_BUILD_CMDS
|
2019-06-14 23:03:36 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(LUA_CQUEUES_CFLAGS)" -C $(@D) \
|
2017-09-24 18:18:56 +02:00
|
|
|
prefix="$(STAGING_DIR)/usr" all$(LUAINTERPRETER_ABIVER)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LUA_CQUEUES_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
|
|
|
|
DESTDIR="$(TARGET_DIR)" prefix=/usr install$(LUAINTERPRETER_ABIVER)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|