blob: 0cb01f8f98ad9bfbcc8084252d365fe5da1896ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.15 2021/06/03 15:59:04 nia Exp $
.include "../Makefile.inc"
.PATH: ${S}/external/bsd/drm/dist/bsd-core
.PATH: ${S}/external/bsd/drm/dist/shared-core
KMOD= radeondrm
IOCONF= radeondrm.ioconf
SRCS= radeon_drv.c
SRCS+= r300_cmdbuf.c
SRCS+= r600_cp.c
SRCS+= r600_blit.c
SRCS+= radeon_cp.c
SRCS+= radeon_cs.c
SRCS+= radeon_irq.c
SRCS+= radeon_mem.c
SRCS+= radeon_state.c
# Code imported from Linux - expects signed overflow to be OK.
COPTS+= -fwrapv
CPPFLAGS+= -I${S}/external/bsd/drm/dist/bsd-core \
-I${S}/external/bsd/drm/dist/shared-core
WARNS= 3
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
COPTS.radeon_cs.c+= -Wno-error=implicit-fallthrough
.endif
CWARNFLAGS.clang+= -Wno-error=bool-operation
.include <bsd.kmodule.mk>
|