summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2013-10-08 07:11:55 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-10-08 15:08:14 (GMT)
commit09e59d73f588ff26a62787dc91e0a0bc810b39e0 (patch)
treec33c539b969231d9769c8e8d22388a86fe9bbec6
parent30f8f1d2679f65d1d9fa00d8d671fe4b5e7fcc5f (diff)
downloadbuildroot-09e59d73f588ff26a62787dc91e0a0bc810b39e0.tar.gz
buildroot-09e59d73f588ff26a62787dc91e0a0bc810b39e0.tar.bz2
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>
-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 3e750bd..0f6336d 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 509d8eb..79c7e90 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