--- /dev/null
+config BR2_PACKAGE_LIBPTHREAD_STUBS
+ bool "libpthread-stubs"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ This library provides weak aliases for pthread functions not
+ provided in libc or otherwise available by default.
+
+ http://xcb.freedesktop.org/
+
+comment "libpthread-stubs needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS