the 'udev' providers if the dependencies are selected. For
example, selecting 'libglib2' will trigger the build of gudev.
+config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
+ bool "xlib-libpthread-stubs option has been renamed"
+ depends on BR2_PACKAGE_XORG7
+ select BR2_LEGACY
+ select BR2_PACKAGE_LIBPTHREAD_STUBS
+ help
+ The pthread stubs neither depend on X11 nor Xlib. Thus the
+ package has been renamed BR2_PACKAGE_LIBPTHREAD_STUBS
+
###############################################################################
comment "Legacy options removed in 2014.02"
config BR2_PACKAGE_PTHREAD_STUBS
bool "pthread-stubs option has been renamed"
select BR2_LEGACY
- select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
- depends on BR2_PACKAGE_XORG7
+ select BR2_PACKAGE_LIBPTHREAD_STUBS
help
For consistency reason, the pthread-stubs package has been
- renamed to xlib_libpthread-stubs.
+ renamed to libpthread-stubs.
###############################################################################
comment "Legacy options removed in 2012.08"
source "package/libnspr/Config.in"
source "package/libpfm4/Config.in"
source "package/libplist/Config.in"
+source "package/libpthread-stubs/Config.in"
source "package/libpthsem/Config.in"
source "package/libseccomp/Config.in"
source "package/libsigc/Config.in"
config BR2_PACKAGE_LIBDRM
bool "libdrm"
- select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
+ select BR2_PACKAGE_LIBPTHREAD_STUBS
depends on BR2_PACKAGE_XORG7
depends on BR2_LARGEFILE
help
LIBDRM_INSTALL_STAGING = YES
LIBDRM_DEPENDENCIES = \
- xlib_libpthread-stubs \
+ libpthread-stubs \
host-pkgconf
LIBDRM_CONF_OPT = \
--- /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
--- /dev/null
+################################################################################
+#
+# libpthread-stubs
+#
+################################################################################
+
+LIBPTHREAD_STUBS_VERSION = 0.3
+LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(LIBPTHREAD_STUBS_VERSION).tar.bz2
+LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist/
+LIBPTHREAD_STUBS_LICENSE = MIT
+LIBPTHREAD_STUBS_LICENSE_FILES = COPYING
+
+LIBPTHREAD_STUBS_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PREFER_STATIC_LIB),y)
+LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
+endif
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
source package/x11r7/xlib_libxkbfile/Config.in
source package/x11r7/xlib_xtrans/Config.in
source package/x11r7/xlib_libpciaccess/Config.in
- source package/x11r7/xlib_libpthread-stubs/Config.in
endmenu
menu "X11R7 Applications"
source package/x11r7/xapp_appres/Config.in
config BR2_PACKAGE_LIBXCB
bool "libxcb"
- select BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
+ select BR2_PACKAGE_LIBPTHREAD_STUBS
select BR2_PACKAGE_XCB_PROTO
select BR2_PACKAGE_XLIB_LIBXDMCP
select BR2_PACKAGE_XLIB_LIBXAU
LIBXCB_INSTALL_STAGING = YES
LIBXCB_DEPENDENCIES = \
- host-libxslt xlib_libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \
+ host-libxslt libpthread-stubs xcb-proto xlib_libXdmcp xlib_libXau \
host-xcb-proto host-python host-pkgconf
LIBXCB_CONF_OPT = --disable-build-docs
+++ /dev/null
-config BR2_PACKAGE_XLIB_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
+++ /dev/null
-################################################################################
-#
-# xlib_libpthread-stubs
-#
-################################################################################
-
-XLIB_LIBPTHREAD_STUBS_VERSION = 0.3
-XLIB_LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(XLIB_LIBPTHREAD_STUBS_VERSION).tar.bz2
-XLIB_LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist/
-XLIB_LIBPTHREAD_STUBS_LICENSE = MIT
-XLIB_LIBPTHREAD_STUBS_LICENSE_FILES = COPYING
-
-XLIB_LIBPTHREAD_STUBS_INSTALL_STAGING = YES
-
-ifeq ($(BR2_PREFER_STATIC_LIB),y)
-XLIB_LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
-endif
-
-$(eval $(autotools-package))
-$(eval $(host-autotools-package))