diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in index 4d7646bec4..7192e94a1b 100644 --- a/package/libdrm/Config.in +++ b/package/libdrm/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_LIBDRM bool "libdrm" select BR2_PACKAGE_LIBPTHREAD_STUBS - depends on BR2_PACKAGE_XORG7 depends on BR2_LARGEFILE help Direct Rendering Manager @@ -14,6 +13,7 @@ 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 @@ -22,22 +22,18 @@ config BR2_PACKAGE_LIBDRM_INTEL config BR2_PACKAGE_LIBDRM_RADEON bool "radeon" - select BR2_PACKAGE_LIBATOMIC_OPS - select BR2_PACKAGE_XLIB_LIBPCIACCESS depends on BR2_i386 || BR2_x86_64 help install AMD/ATI graphics driver config BR2_PACKAGE_LIBDRM_NOUVEAU bool "nouveau" - select BR2_PACKAGE_XLIB_LIBPCIACCESS depends on BR2_i386 || BR2_x86_64 help install Nvidia graphics driver config BR2_PACKAGE_LIBDRM_VMWGFX bool "vmwgfx" - select BR2_PACKAGE_XLIB_LIBPCIACCESS depends on BR2_i386 || BR2_x86_64 help installs Vmware graphics driver @@ -65,5 +61,4 @@ endmenu endif comment "libdrm needs a toolchain w/ largefile" - depends on BR2_PACKAGE_XORG7 depends on !BR2_LARGEFILE diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk index b9b7a58f6b..bc1aa89837 100644 --- a/package/libdrm/libdrm.mk +++ b/package/libdrm/libdrm.mk @@ -28,21 +28,18 @@ endif ifeq ($(BR2_PACKAGE_LIBDRM_RADEON),y) LIBDRM_CONF_OPT += --enable-radeon -LIBDRM_DEPENDENCIES += xlib_libpciaccess else LIBDRM_CONF_OPT += --disable-radeon endif ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y) LIBDRM_CONF_OPT += --enable-nouveau -LIBDRM_DEPENDENCIES += xlib_libpciaccess else LIBDRM_CONF_OPT += --disable-nouveau endif ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX),y) LIBDRM_CONF_OPT += --enable-vmwgfx -LIBDRM_DEPENDENCIES += xlib_libpciaccess else LIBDRM_CONF_OPT += --disable-vmwgfx endif