Commit Graph

16 Commits

Author SHA1 Message Date
lukem 230c41e44c adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of
the older style more complex expressions.
2023-06-03 21:30:20 +00:00
nia 71e6f9ed18 build the drmkms modules with -fwrapv too 2021-06-03 15:59:04 +00:00
joerg 76c7fc5f6b Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
mrg 21303c93e9 convert HAVE_GCC == 7 to HAVE_GCC >= 7. 2019-09-29 23:44:58 +00:00
rin 2bc4fb1fcb Bump default value of WARNS for modules from 3 to 5, and
explicitly set WARNS for modules that fail with WARNS=5.

Also, turn on -Wno-missing-noreturn for clang for some files.

At the moment, among ~ 360 modules,
- 2 (lua and zfs) need WARNS=0
- 1 (solaris) needs WARNS=1
- 136 need WARNS=3 (mostly due to sign-compare)
- 4 need WARNS=4
- others can be compiled with WARNS=5

Discussed on tech-kern.
2019-02-17 04:05:41 +00:00
mrg 1fcf7be45f - use -Wno-error=implicit-fallthrough with GCC7. 2019-02-04 04:05:15 +00:00
jmcneill 5494668f55 Split out ati_pcigart into a separate module so it can be shared with r128drm 2011-08-28 15:56:21 +00:00
jmcneill 54d6e22c5d set default WARNS for modules to 3 -- the only one that needs < 3 now is pf 2011-08-28 15:40:49 +00:00
mrg 5373bec4d9 add r600_blit.c and radeon_cs.c. 2010-05-27 07:27:35 +00:00
mrg de36815874 add a couple of missing files. pointed out by tron. 2009-06-22 15:34:53 +00:00
tron 45353de023 Fix modules build after update of drm(4). 2009-06-22 13:13:08 +00:00
pooka 513be93faf Revert revivesa merge botch to fix build. 2008-10-15 14:09:21 +00:00
wrstuden fc7511b00e Merge wrstuden-revivesa into HEAD. 2008-10-15 06:51:17 +00:00
jmmv 4b6f682838 Fix build of the i915drm and radeondrm modules after the #include changes
from <dev/drm/drm{,P}.h> to "drm{,P}.h" by mrg@.
2008-07-08 10:11:02 +00:00
tnn 0772c0d1b9 Fix build. 2008-05-19 13:21:57 +00:00
jmcneill 72d2bc8973 Makefile for building radeondrm kmod 2008-05-18 21:13:22 +00:00