6b8050eb40
A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Peter: explain why we need to unconditionally pass --with-openssl] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
1015 B
Makefile
34 lines
1015 B
Makefile
################################################################################
|
|
#
|
|
# gensio
|
|
#
|
|
################################################################################
|
|
|
|
GENSIO_VERSION = 1.3.3
|
|
GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net
|
|
GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
|
|
GENSIO_LICENSE_FILES = COPYING.LIB COPYING
|
|
GENSIO_INSTALL_STAGING = YES
|
|
GENSIO_CONF_OPTS = \
|
|
--without-openipmi \
|
|
--without-swig \
|
|
--without-python
|
|
|
|
# configure script by default searches host paths for openssl,
|
|
# breaking cross compilation. Disable this by explicitly pointing it
|
|
# at STAGING_DIR no matter if we have openssl enabled or not as it
|
|
# will correctly disable openssl support if not found there
|
|
GENSIO_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
GENSIO_DEPENDENCIES += openssl
|
|
endif
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
GENSIO_CONF_OPTS += --with-pthreads
|
|
else
|
|
GENSIO_CONF_OPTS += --without-pthreads
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|