2bc4fb1fcb
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.
34 lines
589 B
Makefile
34 lines
589 B
Makefile
# $NetBSD: Makefile,v 1.5 2019/02/17 04:05:47 rin Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
.PATH: ${S}/external/bsd/drm/dist/bsd-core
|
|
|
|
KMOD= drm
|
|
|
|
SRCS= drm_agpsupport.c
|
|
SRCS+= drm_auth.c
|
|
SRCS+= drm_bufs.c
|
|
SRCS+= drm_context.c
|
|
SRCS+= drm_dma.c
|
|
SRCS+= drm_drawable.c
|
|
SRCS+= drm_drv.c
|
|
SRCS+= drm_fops.c
|
|
SRCS+= drm_hashtab.c
|
|
SRCS+= drm_ioctl.c
|
|
SRCS+= drm_irq.c
|
|
SRCS+= drm_lock.c
|
|
SRCS+= drm_memory.c
|
|
SRCS+= drm_mm.c
|
|
SRCS+= drm_pci.c
|
|
SRCS+= drm_scatter.c
|
|
SRCS+= drm_sman.c
|
|
SRCS+= drm_sysctl.c
|
|
SRCS+= drm_vm.c
|
|
|
|
CPPFLAGS+= -I${S}/external/bsd/drm/dist/shared-core
|
|
|
|
WARNS= 3
|
|
|
|
.include <bsd.kmodule.mk>
|