"Non-blocking GPIO Interrupts with callback mechanism" feature
requires pthreads.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
config BR2_PACKAGE_LIBSOC
bool "libsoc"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
libsoc is a C library for interfacing with common SoC
peripherals through generic kernel interfaces
https://github.com/jackmitch/libsoc
+
+comment "libsoc requires a toolchain with threads support"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
#
################################################################################
-LIBSOC_VERSION = 356760dcb93b22d6c67c5232cde2ade8c968c932
+LIBSOC_VERSION = 0.4
LIBSOC_SITE = http://github.com/jackmitch/libsoc/tarball/$(LIBSOC_VERSION)
LIBSOC_LICENSE = LGPLv2.1
LIBSOC_LICENSE_FILES = COPYING