[Buildroot] [PATCH v2 2/7] libdrm: Remove dependency towards X11

Bernd Kuhls berndkuhls at hotmail.com
Wed Feb 5 20:35:55 UTC 2014


Arnout Vandecappelle <arnout at mind.be> wrote in
news:52F1E0A6.2060409 at mind.be: 

> On 04/02/14 19:15, Bernd Kuhls wrote:
>> Signed-off-by: Bernd Kuhls
>> <berndkuhls at hotmail.com> ---
>> v4: rebased v3
>> v3: rebased v2
>> v2: http://patchwork.ozlabs.org/patch/304116/ (Paul Cercueil)
>> v1: http://patchwork.ozlabs.org/patch/278297/ (Spenser Gilliland)

Hi,

Arnout Vandecappelle <arnout at mind.be> wrote in
news:52F1E733.3030005 at mind.be: 

>  This removes the following implicit dependencies (from XORG7):
>         depends on BR2_USE_WCHAR
>         depends on BR2_TOOLCHAIN_HAS_THREADS
>         depends on !BR2_PREFER_STATIC_LIB # dlopen in xlib_libX11
>  Are you sure they are no longer needed? Actually, the same is true for
> the libdrm patch that removes the XORG7 dependency.

I tested a locally revised libdrm patch; using this defconfig

BR2_x86_pentium_mmx=y
BR2_ENABLE_DEBUG=y
BR2_OPTIMIZE_2=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
# BR2_UCLIBC_INSTALL_UTILS is not set
BR2_BINUTILS_VERSION_2_23_2=y
BR2_GCC_VERSION_4_8_X=y
BR2_PACKAGE_LIBDRM=y
BR2_PACKAGE_LIBDRM_RADEON=y
BR2_PACKAGE_LIBDRM_NOUVEAU=y
BR2_PACKAGE_LIBDRM_VMWGFX=y

and compiled libdrm (w/o Intel API) even without BR2_PACKAGE_LIBATOMIC_OPS 
and without BR2_PACKAGE_XLIB_LIBPCIACCESS, so USE_WCHAR, 
TOOLCHAIN_HAS_THREADS and !BR2_PREFER_STATIC_LIB do not seem to be 
necessary for libdrm at all.

Regards, Bernd




More information about the buildroot mailing list