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/radeon files.radeon: add clang -Wno-fo...



details:   https://anonhg.NetBSD.org/src/rev/a268f7cbbd50
branches:  trunk
changeset: 1029096:a268f7cbbd50
user:      tnn <tnn%NetBSD.org@localhost>
date:      Tue Dec 21 13:56:58 2021 +0000

description:
files.radeon: add clang -Wno-format for radeon_uvd.c

int vs. short mismatch in UVD firmware version printf.
Also change some makeoptions conditional copypasta i915drmkms -> radeon.

diffstat:

 sys/external/bsd/drm2/radeon/files.radeon |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (25 lines):

diff -r 5338c3de98d5 -r a268f7cbbd50 sys/external/bsd/drm2/radeon/files.radeon
--- a/sys/external/bsd/drm2/radeon/files.radeon Tue Dec 21 12:55:23 2021 +0000
+++ b/sys/external/bsd/drm2/radeon/files.radeon Tue Dec 21 13:56:58 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.radeon,v 1.35 2021/12/19 10:55:37 riastradh Exp $
+#      $NetBSD: files.radeon,v 1.36 2021/12/21 13:56:58 tnn Exp $
 
 version        20180827
 
@@ -34,10 +34,11 @@
 
 makeoptions    radeon  "CWARNFLAGS.radeon"+="${${ACTIVE_CC} == gcc:? -Wno-maybe-uninitialized :}"
 
-#makeoptions   i915drmkms      "CWARNFLAGS.radeon_cs.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
-makeoptions    i915drmkms      "CWARNFLAGS.radeon_evergreen_cs.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
-makeoptions    i915drmkms      "CWARNFLAGS.radeon_r300.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
-makeoptions    i915drmkms      "CWARNFLAGS.radeon_r420.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+#makeoptions   radeon  "CWARNFLAGS.radeon_cs.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+makeoptions    radeon  "CWARNFLAGS.radeon_evergreen_cs.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+makeoptions    radeon  "CWARNFLAGS.radeon_r300.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+makeoptions    radeon  "CWARNFLAGS.radeon_r420.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+makeoptions    radeon  "CWARNFLAGS.radeon_uvd.c"+="${${ACTIVE_CC} == clang:? -Wno-format :}"
 
 file   external/bsd/drm2/radeon/radeon_module.c                radeon
 file   external/bsd/drm2/radeon/radeon_pci.c                   radeon



Home | Main Index | Thread Index | Old Index