Source-Changes-HG archive

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

[src/trunk]: src/sys/modules/drmkms_pci Make drmkms_pci.kmod build again.



details:   https://anonhg.NetBSD.org/src/rev/24fa37271a7d
branches:  trunk
changeset: 835289:24fa37271a7d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:55:35 2018 +0000

description:
Make drmkms_pci.kmod build again.

diffstat:

 sys/modules/drmkms_pci/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 66e43606e977 -r 24fa37271a7d sys/modules/drmkms_pci/Makefile
--- a/sys/modules/drmkms_pci/Makefile   Mon Aug 27 13:55:24 2018 +0000
+++ b/sys/modules/drmkms_pci/Makefile   Mon Aug 27 13:55:35 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2015/03/05 17:50:41 riastradh Exp $
+# $NetBSD: Makefile,v 1.6 2018/08/27 13:55:35 riastradh Exp $
 
 .include "../Makefile.inc"
 .include "../drmkms/Makefile.inc"
@@ -8,6 +8,9 @@
 
 KMOD=  drmkms_pci
 
+CPPFLAGS+=     -DCONFIG_AGP
+CPPFLAGS+=     -DCONFIG_PCI
+
 #SRCS+=        ati_pcigart.c           # XXX Restore for ATI support.
 SRCS+= drm_agpsupport.c
 SRCS+= drm_pci.c



Home | Main Index | Thread Index | Old Index