mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 17:10:13 +01:00
25 lines
500 B
Makefile
25 lines
500 B
Makefile
# $FreeBSD$
|
|
|
|
KMOD = r128
|
|
NOMAN= YES
|
|
SRCS = r128_cce.c r128_drv.c r128_state.c
|
|
SRCS += device_if.h bus_if.h pci_if.h opt_drm_linux.h
|
|
CFLAGS += ${DEBUG_FLAGS} -I. -I..
|
|
|
|
@:
|
|
ln -sf /sys @
|
|
|
|
machine:
|
|
ln -sf /sys/i386/include machine
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
# This line enables linux ioctl handling by default
|
|
# comment out if you don't want it
|
|
R128_OPTS= "\#define DRM_LINUX" 1
|
|
.endif
|
|
|
|
opt_drm_linux.h:
|
|
touch opt_drm_linux.h
|
|
echo $(R128_OPTS) >> opt_drm_linux.h
|
|
|
|
.include <bsd.kmod.mk>
|