Module Name: src Committed By: riastradh Date: Thu Jul 17 14:05:12 UTC 2014
Modified Files: src/sys/external/bsd/drm2/radeon: files.radeon Log Message: Push -Wno-missing-prototypes into specific radeon source files. Don't apply it willy-nilly to the whole kernel! To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/external/bsd/drm2/radeon/files.radeon Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/radeon/files.radeon diff -u src/sys/external/bsd/drm2/radeon/files.radeon:1.1 src/sys/external/bsd/drm2/radeon/files.radeon:1.2 --- src/sys/external/bsd/drm2/radeon/files.radeon:1.1 Wed Jul 16 20:59:58 2014 +++ src/sys/external/bsd/drm2/radeon/files.radeon Thu Jul 17 14:05:12 2014 @@ -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 @@ attach radeondrmkms at pci 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