Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Make drmkms find header files from sys/external/bsd/common.
details: https://anonhg.NetBSD.org/src/rev/aef8d274e47e
branches: trunk
changeset: 328357:aef8d274e47e
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Apr 01 15:08:58 2014 +0000
description:
Make drmkms find header files from sys/external/bsd/common.
diffstat:
sys/external/bsd/drm2/drm/files.drmkms | 3 ++-
sys/external/bsd/drm2/linux/files.drmkms_linux | 3 ++-
sys/modules/drmkms/Makefile.inc | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diffs (48 lines):
diff -r 553077e9dc7d -r aef8d274e47e sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms Tue Apr 01 14:57:58 2014 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms Tue Apr 01 15:08:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.drmkms,v 1.4 2014/03/31 13:38:44 riastradh Exp $
+# $NetBSD: files.drmkms,v 1.5 2014/04/01 15:08:58 riastradh Exp $
define drmkmsbus { }
@@ -18,6 +18,7 @@
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/include"
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/uapi"
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/include"
+makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/common/include"
makeoptions drmkms "CWARNFLAGS.drm_crtc.c"+="-Wno-shadow"
makeoptions drmkms "CWARNFLAGS.drm_edid.c"+="-Wno-shadow"
diff -r 553077e9dc7d -r aef8d274e47e sys/external/bsd/drm2/linux/files.drmkms_linux
--- a/sys/external/bsd/drm2/linux/files.drmkms_linux Tue Apr 01 14:57:58 2014 +0000
+++ b/sys/external/bsd/drm2/linux/files.drmkms_linux Tue Apr 01 15:08:58 2014 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: files.drmkms_linux,v 1.3 2014/03/31 13:38:44 riastradh Exp $
+# $NetBSD: files.drmkms_linux,v 1.4 2014/04/01 15:08:58 riastradh Exp $
define drmkms_linux: i2cexec, i2c_bitbang
makeoptions drmkms_linux CPPFLAGS+="-I$S/external/bsd/drm2/include"
+makeoptions drmkms_linux CPPFLAGS+="-I$S/external/bsd/common/include"
file external/bsd/drm2/linux/linux_gfp.c drmkms_linux
file external/bsd/drm2/linux/linux_kmap.c drmkms_linux
diff -r 553077e9dc7d -r aef8d274e47e sys/modules/drmkms/Makefile.inc
--- a/sys/modules/drmkms/Makefile.inc Tue Apr 01 14:57:58 2014 +0000
+++ b/sys/modules/drmkms/Makefile.inc Tue Apr 01 15:08:58 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2014/03/18 18:20:43 riastradh Exp $
+# $NetBSD: Makefile.inc,v 1.3 2014/04/01 15:08:58 riastradh Exp $
# Common makefile cruft for drm2 code.
@@ -8,6 +8,7 @@
CPPFLAGS+= -I${S}/external/bsd/drm2/include
CPPFLAGS+= -I${S}/external/bsd/drm2/dist/uapi
CPPFLAGS+= -I${S}/external/bsd/drm2/dist/include
+CPPFLAGS+= -I${S}/external/bsd/common/include
CPPFLAGS+= -D__KERNEL__
# XXX Is this the right place to set this?
Home |
Main Index |
Thread Index |
Old Index