From 7f3a82ddf7e5b27984f72f961ebd2412169be564 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 19 Dec 2015 12:01:24 +0100 Subject: [PATCH] package/mesa3d: add support for Nouveau DRI driver Needed by new package xdriver_xf86-video-nouveau. Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mesa3d/Config.in | 7 +++++++ package/mesa3d/mesa3d.mk | 1 + 2 files changed, 8 insertions(+) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index f38dd98f80..40af2efa48 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -113,6 +113,13 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 help Support for i965-based Intel GPUs. +config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU + bool "DRI nouveau driver" + select BR2_PACKAGE_MESA3D_DRI_DRIVER + select BR2_PACKAGE_LIBDRM_NOUVEAU + help + Support for Nvidia-based GPUs. + config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON bool "DRI radeon driver" depends on BR2_i386 || BR2_x86_64 diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 40e53cc81f..195ccff914 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -70,6 +70,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST) += swrast MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915) += i915 MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965 +MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU) += nouveau MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += radeon ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),)