Module Name: src Committed By: riastradh Date: Fri Feb 14 09:35:52 UTC 2020
Modified Files: src/sys/modules/drmkms: Makefile src/sys/modules/i915drmkms: Makefile Log Message: Carry new CWARNFLAGS over to module reachover makefiles. Forgot these modules existed! To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/modules/drmkms/Makefile cvs rdiff -u -r1.14 -r1.15 src/sys/modules/i915drmkms/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/modules/drmkms/Makefile diff -u src/sys/modules/drmkms/Makefile:1.12 src/sys/modules/drmkms/Makefile:1.13 --- src/sys/modules/drmkms/Makefile:1.12 Sun Feb 17 04:05:47 2019 +++ src/sys/modules/drmkms/Makefile Fri Feb 14 09:35:52 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2019/02/17 04:05:47 rin Exp $ +# $NetBSD: Makefile,v 1.13 2020/02/14 09:35:52 riastradh Exp $ .include "../Makefile.inc" .include "Makefile.inc" @@ -29,8 +29,11 @@ CPPFLAGS+= -I. # XXX CWARNFLAGS.foo.c doesn't work. COPTS.drm_atomic_helper.c+= -Wno-shadow +COPTS.drm_bufs.c+= -Wno-pointer-arith COPTS.drm_crtc.c+= -Wno-missing-field-initializers +COPTS.drm_crtc.c+= -Wno-pointer-arith COPTS.drm_crtc.c+= -Wno-shadow +COPTS.drm_dp_helper.c+= -Wno-pointer-arith COPTS.drm_edid.c+= -Wno-shadow COPTS.drm_ioctl.c+= -Wno-shadow Index: src/sys/modules/i915drmkms/Makefile diff -u src/sys/modules/i915drmkms/Makefile:1.14 src/sys/modules/i915drmkms/Makefile:1.15 --- src/sys/modules/i915drmkms/Makefile:1.14 Sun Sep 29 23:45:00 2019 +++ src/sys/modules/i915drmkms/Makefile Fri Feb 14 09:35:52 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2019/09/29 23:45:00 mrg Exp $ +# $NetBSD: Makefile,v 1.15 2020/02/14 09:35:52 riastradh Exp $ .include "../Makefile.inc" .include "../drmkms/Makefile.inc" @@ -25,6 +25,7 @@ CPPFLAGS+= -DNACPICA=1 CPPFLAGS+= -DNVGA=1 CWARNFLAGS+= -Wno-shadow +CWARNFLAGS+= -Wno-pointer-arith COPTS.i915_drv.c+= ${${ACTIVE_CC} == "gcc":? -Wno-override-init :} COPTS.i915_drv.c+= ${${ACTIVE_CC} == "clang":? -Wno-initializer-overrides :}