From 98b6c89d6e6db9a340685fd185d121c5c69c9ad0 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Thu, 29 Oct 2015 10:10:09 +0000 Subject: [PATCH] build nouveau on evbarm, too --- external/mit/xorg/lib/gallium/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/external/mit/xorg/lib/gallium/Makefile b/external/mit/xorg/lib/gallium/Makefile index 031a93cd4962..4979ac110283 100644 --- a/external/mit/xorg/lib/gallium/Makefile +++ b/external/mit/xorg/lib/gallium/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2015/10/29 08:09:55 mrg Exp $ +# $NetBSD: Makefile,v 1.10 2015/10/29 10:10:09 jmcneill Exp $ # Link the gallium mega driver. @@ -15,7 +15,10 @@ DRIDEBUGDIR= ${DEBUGDIR}${X11USRLIBDIR}/modules/dri DRIVERS= kms_swrast swrast .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" -DRIVERS+= r600 nouveau +DRIVERS+= r600 +.endif +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE} == "evbarm" +DRIVERS+= nouveau .endif CPPFLAGS+= \