Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/gallium properly link and enable all t...



details:   https://anonhg.NetBSD.org/src/rev/28cf2870b971
branches:  trunk
changeset: 341275:28cf2870b971
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Oct 29 08:09:55 2015 +0000

description:
properly link and enable all the nouveau parts.
with this, hw GL seems to work!

diffstat:

 external/mit/xorg/lib/gallium/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 43497d4912db -r 28cf2870b971 external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile    Thu Oct 29 08:08:52 2015 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile    Thu Oct 29 08:09:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2015/10/26 07:15:36 mrg Exp $
+# $NetBSD: Makefile,v 1.9 2015/10/29 08:09:55 mrg Exp $
 
 # Link the gallium mega driver.
 
@@ -54,6 +54,7 @@
        drivers/nouveau/nvc0 \
        drivers/softpipe \
        winsys/radeon/drm \
+       winsys/nouveau/drm \
        winsys/sw/null \
        winsys/sw/dri \
        winsys/sw/kms-dri \
@@ -461,6 +462,9 @@
         radeon_drm_cs_dump.c \
         radeon_drm_winsys.c
 
+GALLIUM_SOURCES.winsys/nouveau/drm = \
+        nouveau_drm_winsys.c
+
 GALLIUM_SOURCES.drivers/softpipe = \
         sp_fs_exec.c \
         sp_clear.c \
@@ -532,6 +536,7 @@
 LIBDPLIBS+=    m               ${.CURDIR}/../../../../../lib/libm
 LIBDPLIBS+=    drm             ${.CURDIR}/../libdrm
 LIBDPLIBS+=    drm_radeon      ${.CURDIR}/../libdrm_radeon
+LIBDPLIBS+=    drm_nouveau     ${.CURDIR}/../libdrm_nouveau
 LIBDPLIBS+=    glapi           ${.CURDIR}/../libglapi
 LIBDPLIBS+=    expat           ${.CURDIR}/../../../../../external/mit/expat/lib/libexpat
 
@@ -571,6 +576,7 @@
        -DGALLIUM_TRACE \
        -DGALLIUM_R200 \
        -DGALLIUM_R600 \
+       -DGALLIUM_NOUVEAU \
        -DGALLIUM_SOFTPIPE \
        -I${X11SRCDIR.MesaLib}/src/gallium/state_trackers/dri \
        -I${X11SRCDIR.MesaLib}/src/loader \



Home | Main Index | Thread Index | Old Index