Push -Wno-missing-prototypes into specific radeon source files.
Don't apply it willy-nilly to the whole kernel!
This commit is contained in:
parent
26083f6ccc
commit
f0ac8cd0d3
39
sys/external/bsd/drm2/radeon/files.radeon
vendored
39
sys/external/bsd/drm2/radeon/files.radeon
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user