summaryrefslogtreecommitdiff
path: root/package/libsoc
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2013-10-08 09:11:55 +0200
committerPeter Korsgaard <peter@korsgaard.com>2013-10-08 17:08:14 +0200
commit09e59d73f588ff26a62787dc91e0a0bc810b39e0 (patch)
treec33c539b969231d9769c8e8d22388a86fe9bbec6 /package/libsoc
parent30f8f1d2679f65d1d9fa00d8d671fe4b5e7fcc5f (diff)
libsoc: bump to 0.4
"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>
Diffstat (limited to 'package/libsoc')
-rw-r--r--package/libsoc/Config.in4
-rw-r--r--package/libsoc/libsoc.mk2
2 files changed, 5 insertions, 1 deletions
diff --git a/package/libsoc/Config.in b/package/libsoc/Config.in
index 3e750bd0f..0f6336de1 100644
--- a/package/libsoc/Config.in
+++ b/package/libsoc/Config.in
@@ -1,7 +1,11 @@
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
diff --git a/package/libsoc/libsoc.mk b/package/libsoc/libsoc.mk
index 509d8eb06..79c7e9000 100644
--- a/package/libsoc/libsoc.mk
+++ b/package/libsoc/libsoc.mk
@@ -4,7 +4,7 @@
#
################################################################################
-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