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 Push -Wno-missing-prototypes in...
details: https://anonhg.NetBSD.org/src/rev/68842b00834f
branches: trunk
changeset: 330667:68842b00834f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Jul 17 14:05:12 2014 +0000
description:
Push -Wno-missing-prototypes into specific radeon source files.
Don't apply it willy-nilly to the whole kernel!
diffstat:
sys/external/bsd/drm2/radeon/files.radeon | 39 +++++++++++++++++++++++++++---
1 files changed, 34 insertions(+), 5 deletions(-)
diffs (65 lines):
diff -r b92b94e16b0b -r 68842b00834f sys/external/bsd/drm2/radeon/files.radeon
--- a/sys/external/bsd/drm2/radeon/files.radeon Thu Jul 17 13:52:22 2014 +0000
+++ b/sys/external/bsd/drm2/radeon/files.radeon Thu Jul 17 14:05:12 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.radeon,v 1.1 2014/07/16 20:59:58 riastradh Exp $
+# $NetBSD: files.radeon,v 1.2 2014/07/17 14:05:12 riastradh Exp $
device radeondrmkms: drmkms, drmkms_pci, drmkms_ttm, genfb, wsemuldisplaydev
attach radeondrmkms at pci
@@ -6,22 +6,51 @@
makeoptions radeondrmkms CPPFLAGS+="-I$S/external/bsd/drm2/dist/drm/radeon"
makeoptions radeondrmkms CPPFLAGS+="-I$S/external/bsd/drm2/include/radeon"
-# Apparently the radeon authors don't believe in declaring functions in
-# header files.
-makeoptions radeondrmkms CWARNFLAGS+="-Wno-missing-prototypes"
-
+makeoptions radeondrmkms "CWARNFLAGS.atombios_encoders.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.atombios_i2c.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.btc_dpm.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.ci_dpm.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.cik.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.cik_sdma.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.dce6_afmt.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.evergreen.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.evergreen_cs.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.kv_dpm.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.kv_dpm.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.kv_dpm.c"+="-Wno-shadow"
makeoptions radeondrmkms "CWARNFLAGS.kv_dpm.c"+="-Wno-type-limits"
+makeoptions radeondrmkms "CWARNFLAGS.ni.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.ni_dpm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.r600.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.r600_cs.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.r600_cs.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.r600_cs.c"+="-Wno-shadow"
+makeoptions radeondrmkms "CWARNFLAGS.r600_dpm.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.radeon_atombios.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_atombios.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_clocks.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.radeon_combios.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_combios.c"+="-Wno-prototypes-field-initializers"
makeoptions radeondrmkms "CWARNFLAGS.radeon_drv.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_gem.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_irq_kms.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_kms.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.radeon_legacy_crtc.c"+="-Wno-shadow"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_legacy_encoders.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_pm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_ttm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.radeon_vce.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.rs780_dpm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.rv6xx_dpm.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.rv6xx_dpm.c"+="-Wno-shadow"
+makeoptions radeondrmkms "CWARNFLAGS.rv770.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.rv770_dpm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.si.c"+="-Wno-missing-prototypes"
makeoptions radeondrmkms "CWARNFLAGS.si_dpm.c"+="-Wno-missing-field-initializers"
+makeoptions radeondrmkms "CWARNFLAGS.si_dpm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.sumo_dpm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.trinity_dpm.c"+="-Wno-missing-prototypes"
+makeoptions radeondrmkms "CWARNFLAGS.vce_v2_0.c"+="-Wno-missing-prototypes"
file external/bsd/drm2/dist/drm/radeon/atom.c radeondrmkms
file external/bsd/drm2/dist/drm/radeon/atombios_crtc.c radeondrmkms
Home |
Main Index |
Thread Index |
Old Index