Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/drm Sort. Put CWARNFLAGS next to sour...
details: https://anonhg.NetBSD.org/src/rev/a2a6b17db872
branches: trunk
changeset: 992895:a2a6b17db872
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 13:53:20 2018 +0000
description:
Sort. Put CWARNFLAGS next to source lists.
diffstat:
sys/external/bsd/drm2/drm/files.drmkms | 26 ++++++++++++++++----------
1 files changed, 16 insertions(+), 10 deletions(-)
diffs (66 lines):
diff -r c87ecb52b186 -r a2a6b17db872 sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms Mon Aug 27 13:53:09 2018 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms Mon Aug 27 13:53:20 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.drmkms,v 1.25 2018/08/27 07:54:28 riastradh Exp $
+# $NetBSD: files.drmkms,v 1.26 2018/08/27 13:53:20 riastradh Exp $
include "external/bsd/drm2/linux/files.drmkms_linux"
@@ -11,9 +11,14 @@
define drmkms: drmkms_linux, drmkms_i2c, linux
defflag opt_drmkms.h DRMKMS_DEBUG
+
+# Overrides first.
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/include"
makeoptions drmkms_ttm CPPFLAGS+="-I$S/external/bsd/drm2/include/drm"
+
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/common/include"
+
+# Then upstream.
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/include"
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/include/drm"
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/uapi"
@@ -24,31 +29,32 @@
# under dist/include/uapi rather than dist/uapi.)
makeoptions drmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist"
-makeoptions drmkms "CWARNFLAGS.drm_atomic_helper.c"+="-Wno-shadow"
-makeoptions drmkms "CWARNFLAGS.drm_crtc.c"+="-Wno-shadow"
-makeoptions drmkms "CWARNFLAGS.drm_crtc.c"+="-Wno-missing-field-initializers"
-makeoptions drmkms "CWARNFLAGS.drm_edid.c"+="-Wno-shadow"
-makeoptions drmkms "CWARNFLAGS.drm_ioctl.c"+="-Wno-shadow"
-
# XXX Should probably be in a header file. opt_drmkms.h?
makeoptions drmkms CPPFLAGS+="-D__KERNEL__"
-makeoptions drmkms CPPFLAGS+="-DCONFIG_FB=0"
makeoptions drmkms CPPFLAGS+="-DCONFIG_BACKLIGHT_CLASS_DEVICE=0"
makeoptions drmkms CPPFLAGS+="-DCONFIG_BACKLIGHT_CLASS_DEVICE_MODULE=0"
+makeoptions drmkms CPPFLAGS+="-DCONFIG_FB=0"
+# NetBSD additions.
file external/bsd/drm2/drm/drm_cdevsw.c drmkms
+file external/bsd/drm2/drm/drm_gem_cma_helper.c drmkms
file external/bsd/drm2/drm/drm_gem_vm.c drmkms
-file external/bsd/drm2/drm/drm_gem_cma_helper.c drmkms
file external/bsd/drm2/drm/drm_module.c drmkms
file external/bsd/drm2/drm/drm_sysctl.c drmkms
-# Generic, unaccelerated drm-based framebuffer.
+# Generic, unaccelerated kms framebuffer.
define drmfb: genfb
file external/bsd/drm2/drm/drmfb.c drmfb
include "external/bsd/drm2/ttm/files.ttm"
+makeoptions drmkms "CWARNFLAGS.drm_atomic_helper.c"+="-Wno-shadow"
+makeoptions drmkms "CWARNFLAGS.drm_crtc.c"+="-Wno-missing-field-initializers"
+makeoptions drmkms "CWARNFLAGS.drm_crtc.c"+="-Wno-shadow"
+makeoptions drmkms "CWARNFLAGS.drm_edid.c"+="-Wno-shadow"
+makeoptions drmkms "CWARNFLAGS.drm_ioctl.c"+="-Wno-shadow"
+
#file external/bsd/drm2/dist/drm/ati_pcigart.c drmkms # drmkms_pci
#file external/bsd/drm2/dist/drm/drm_agpsupport.c drmkms # drmkms_pci
file external/bsd/drm2/dist/drm/drm_atomic.c drmkms
Home |
Main Index |
Thread Index |
Old Index