diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2014-07-14 19:06:03 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2014-07-14 19:06:03 +0000 |
commit | 150fc2ea817ae9608aec78e715047b7432071f4f (patch) | |
tree | c7766e7d93d54efa6be037270c5a9714a9779036 /driver | |
parent | 0df0c58f62597105d6b054e5f2ec68a0da24f1cb (diff) |
Move the logic that says that the openchrome driver requires librm
to the drivers Makefile, and don't build it if the user choose not
to build libdrm.
Diffstat (limited to 'driver')
-rw-r--r-- | driver/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/driver/Makefile b/driver/Makefile index 284d1e870..b0ac87f42 100644 --- a/driver/Makefile +++ b/driver/Makefile @@ -1,4 +1,6 @@ -# $OpenBSD: Makefile,v 1.60 2014/04/13 10:41:00 matthieu Exp $ +# $OpenBSD: Makefile,v 1.61 2014/07/14 19:06:02 matthieu Exp $ + +.include <bsd.xconf.mk> INPUT_DRV_DEFAULT= \ xf86-input-keyboard \ @@ -53,13 +55,17 @@ VIDEO_DRV_amd64= \ xf86-video-chips xf86-video-cirrus xf86-video-dummy xf86-video-glint \ xf86-video-i128 xf86-video-intel xf86-video-mach64 \ xf86-video-mga xf86-video-neomagic \ - xf86-video-nv xf86-video-openchrome xf86-video-r128 \ + xf86-video-nv xf86-video-r128 \ xf86-video-rendition xf86-video-s3 \ xf86-video-s3virge xf86-video-savage xf86-video-siliconmotion \ xf86-video-sis xf86-video-tdfx xf86-video-trident \ xf86-video-tseng xf86-video-vesa xf86-video-vmware \ xf86-video-wsudl +.if ${XENOCARA_BUILD_GL:L} == "yes" +VIDEO_DRV_amd64+= xf86-video-openchrome +.endif + VIDEO_DRV_armish= \ xf86-video-wsfb xf86-video-wsudl |