[Buildroot] [PATCH 0/2] Drop X11 dependency of libpthread-stubs and libdrm

Paul Cercueil paul at crapouillou.net
Fri Dec 20 15:33:42 UTC 2013


The 'pthread-stubs' package was recently renamed to 'xlib_libpthread-stubs'.
This makes sense as libpthread-stubs is part of the X libraries.

However, this package does not have any real dependency, not even X11.
This is inconsistent with the current package, which can only be enabled
when BR2_PACKAGE_XORG7 is selected.

The first patch renames the 'xlib_libpthread-stubs' package into
'libpthread-stubs', and moves it to 'Libraries -> Other' in the config
menu.

The second patch applies to libdrm, and removes the dependency towards X11,
if no X11-specific driver was selected. This permits to build the Mesa3d
library without X11.



More information about the buildroot mailing list