Initial Commit
- initial default booting image
This commit is contained in:
18
package/linknx/Config.in
Normal file
18
package/linknx/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_LINKNX
|
||||
bool "linknx"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_MMU # libpthsem
|
||||
select BR2_PACKAGE_LIBPTHSEM
|
||||
select BR2_PACKAGE_ARGP_STANDALONE \
|
||||
if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
Linknx is an automation platform providing high level
|
||||
functionalities to EIB/KNX installation.
|
||||
|
||||
http://linknx.sourceforge.net/
|
||||
https://github.com/linknx/linknx
|
||||
|
||||
comment "linknx needs a toolchain w/ C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
3
package/linknx/linknx.hash
Normal file
3
package/linknx/linknx.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 d07199875c6e3f90871308989dd7d4240b67ce971d5908cb39592690341f8d0a linknx-0.0.1.39.tar.gz
|
||||
sha256 c03cea027b4b40e4402fabd08557736727ec3d5bc54ad64ab6472de432198cad LICENSE
|
||||
57
package/linknx/linknx.mk
Normal file
57
package/linknx/linknx.mk
Normal file
@@ -0,0 +1,57 @@
|
||||
################################################################################
|
||||
#
|
||||
# linknx
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LINKNX_VERSION = 0.0.1.39
|
||||
LINKNX_SITE = $(call github,linknx,linknx,$(LINKNX_VERSION))
|
||||
LINKNX_LICENSE = GPL-2.0+
|
||||
LINKNX_LICENSE_FILES = LICENSE
|
||||
LINKNX_INSTALL_STAGING = YES
|
||||
LINKNX_CONF_OPTS = \
|
||||
--without-cppunit \
|
||||
--without-pth-test \
|
||||
--with-pth=$(STAGING_DIR)/usr \
|
||||
--disable-smtp
|
||||
|
||||
# add host-gettext for AM_ICONV macro
|
||||
LINKNX_DEPENDENCIES = \
|
||||
host-gettext \
|
||||
host-pkgconf \
|
||||
libpthsem \
|
||||
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
LINKNX_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr
|
||||
LINKNX_DEPENDENCIES += libcurl
|
||||
else
|
||||
LINKNX_CONF_OPTS += --without-libcurl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LOG4CPP),y)
|
||||
LINKNX_CONF_OPTS += --with-log4cpp
|
||||
LINKNX_DEPENDENCIES += log4cpp
|
||||
else
|
||||
LINKNX_CONF_OPTS += --without-log4cpp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LUA),y)
|
||||
LINKNX_CONF_OPTS += --with-lua
|
||||
LINKNX_DEPENDENCIES += lua
|
||||
else
|
||||
LINKNX_CONF_OPTS += --without-lua
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MARIADB),y)
|
||||
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
|
||||
LINKNX_DEPENDENCIES += mariadb
|
||||
else
|
||||
LINKNX_CONF_OPTS += --without-mysql
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user