Since version 0.3.0, libconfig has been made optional
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
config BR2_PACKAGE_SOCKETCAND
bool "socketcand"
- select BR2_PACKAGE_LIBCONFIG
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Socketcand is a daemon that provides access to CAN interfaces
#
################################################################################
-SOCKETCAND_VERSION = 7d06986
+SOCKETCAND_VERSION = dc3437ab
SOCKETCAND_SITE = http://github.com/dschanoeh/socketcand/tarball/$(SOCKETCAND_VERSION)
SOCKETCAND_AUTORECONF = YES
+
+ifeq ($(BR2_PACKAGE_LIBCONFIG),y)
SOCKETCAND_DEPENDENCIES = libconfig
+else
+SOCKETCAND_CONF_OPT = --without-config
+endif
$(eval $(autotools-package))