buildrootschalter/package/libdrm/Config.in
Bernd Kuhls 72e184b731 libdrm: Remove dependency towards X11
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

libdrm (w/o Intel API) compiles without BR2_PACKAGE_LIBATOMIC_OPS and without
BR2_PACKAGE_XLIB_LIBPCIACCESS, so USE_WCHAR, TOOLCHAIN_HAS_THREADS and
!BR2_PREFER_STATIC_LIB, previously added by the Xorg dependency, do not seem
to be necessary for libdrm at all.

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-02 15:00:10 +01:00

65 lines
1.3 KiB
Plaintext

config BR2_PACKAGE_LIBDRM
bool "libdrm"
select BR2_PACKAGE_LIBPTHREAD_STUBS
depends on BR2_LARGEFILE
help
Direct Rendering Manager
http://dri.freedesktop.org/libdrm/
if BR2_PACKAGE_LIBDRM
menu "DRM Drivers"
config BR2_PACKAGE_LIBDRM_INTEL
bool "intel"
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBATOMIC_OPS
select BR2_PACKAGE_XLIB_LIBPCIACCESS
depends on BR2_i386 || BR2_x86_64
help
installs intel graphics driver
config BR2_PACKAGE_LIBDRM_RADEON
bool "radeon"
depends on BR2_i386 || BR2_x86_64
help
install AMD/ATI graphics driver
config BR2_PACKAGE_LIBDRM_NOUVEAU
bool "nouveau"
depends on BR2_i386 || BR2_x86_64
help
install Nvidia graphics driver
config BR2_PACKAGE_LIBDRM_VMWGFX
bool "vmwgfx"
depends on BR2_i386 || BR2_x86_64
help
installs Vmware graphics driver
config BR2_PACKAGE_LIBDRM_OMAP
bool "omap (experimental)"
depends on BR2_arm
help
install the TI OMAP driver using an experimental API.
config BR2_PACKAGE_LIBDRM_EXYNOS
bool "exynos (experimental)"
depends on BR2_arm
help
installs Samsung Exynos driver using an experimental API.
config BR2_PACKAGE_LIBDRM_FREEDRENO
bool "freedreno (experimental)"
depends on BR2_arm
help
install Qualcomm Snapdragon driver using an experimental API.
endmenu
endif
comment "libdrm needs a toolchain w/ largefile"
depends on !BR2_LARGEFILE