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/i915drm Just do all of i915drmkms with...



details:   https://anonhg.NetBSD.org/src/rev/b5784b2bf116
branches:  trunk
changeset: 365943:b5784b2bf116
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:21:01 2018 +0000

description:
Just do all of i915drmkms with -Wno-shadow.

diffstat:

 sys/external/bsd/drm2/i915drm/files.i915drmkms |  12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)

diffs (28 lines):

diff -r 6ff6d94992fd -r b5784b2bf116 sys/external/bsd/drm2/i915drm/files.i915drmkms
--- a/sys/external/bsd/drm2/i915drm/files.i915drmkms    Mon Aug 27 07:20:51 2018 +0000
+++ b/sys/external/bsd/drm2/i915drm/files.i915drmkms    Mon Aug 27 07:21:01 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i915drmkms,v 1.21 2018/08/27 07:19:34 riastradh Exp $
+#      $NetBSD: files.i915drmkms,v 1.22 2018/08/27 07:21:01 riastradh Exp $
 
 define intelfbbus      { }
 device i915drmkms: drmkms, drmkms_pci, intelfbbus, agp_i810
@@ -10,15 +10,11 @@
 makeoptions    i915drmkms      CPPFLAGS+="-I$S/external/bsd/drm2/dist/drm/i915"
 makeoptions    i915drmkms      CPPFLAGS+="-I$S/external/bsd/drm2/i915drm"
 
+makeoptions    i915drmkms      "CWARNFLAGS.i915drmkms"+="-Wno-shadow"
+
 makeoptions    i915drmkms      "CWARNFLAGS.i915_drv.c"+="${${ACTIVE_CC} == gcc:? -Wno-override-init :}"
 makeoptions    i915drmkms      "CWARNFLAGS.i915_drv.c"+="${${ACTIVE_CC} == clang:? -Wno-initializer-overrides :}"
-makeoptions    i915drmkms      "CWARNFLAGS.i915_gem.c"+="-Wno-shadow"
-makeoptions    i915drmkms      "CWARNFLAGS.i915_gem_gtt.c"+="-Wno-shadow"
-makeoptions    i915drmkms      "CWARNFLAGS.i915_gpu_error.c"+="-Wno-shadow"
-makeoptions    i915drmkms      "CWARNFLAGS.i915_vgpu.c"+="-Wno-shadow"
-makeoptions    i915drmkms      "CWARNFLAGS.intel_display.c"+="-Wno-shadow -Wno-conversion"
-makeoptions    i915drmkms      "CWARNFLAGS.intel_panel.c"+="-Wno-shadow"
-makeoptions    i915drmkms      "CWARNFLAGS.intel_pm.c"+="-Wno-shadow"
+#makeoptions   i915drmkms      "CWARNFLAGS.intel_display.c"+="-Wno-conversion"
 
 # XXX x86 kludge.
 makeoptions    i915drmkms      CPPFLAGS+="-DCONFIG_DRM_I915_FBDEV=1"



Home | Main Index | Thread Index | Old Index