Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#	$NetBSD: Makefile,v 1.9 2016/08/16 06:24:02 mrg Exp $

DRIVER=		xf86-video-mach64
DRIVER_NAME=	mach64_drv

SRCS=		atibus.c atichip.c atiprobe.c atividmem.c \
		atiadjust.c aticlock.c aticonfig.c \
		aticonsole.c atidac.c atidsp.c \
		atii2c.c atilock.c atimach64.c atimach64accel.c \
		atimach64cursor.c atimach64i2c.c atimach64io.c \
		atimach64xv.c atimode.c atipreinit.c atiprint.c \
		atirgb514.c atiscreen.c atituner.c atiutil.c \
		ativalid.c atiload.c atimisc.c atimach64probe.c \
		${SRCS.cpio} ${SRCS.dga} ${SRCS.exa} #${SRCS.dri}

SRCS.cpio=	ativga.c ativgaio.c atibank.c atiwonder.c atiwonderio.c
SRCS.dga=	atidga.c
SRCS.dri=	atidri.c
SRCS.exa=	atimach64exa.c

CPPFLAGS+=	-DUSE_EXA

.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" || \
    ${MACHINE_ARCH} == "sparc"
CPPFLAGS+=	 -DAVOID_CPIO
.endif

MAN=		# defined

CWARNFLAGS.clang+=	-Wno-pointer-sign

.include "../Makefile.xf86-driver"

# XXX
.if ${XORG_SERVER_SUBDIR} == "xorg-server.old"
CPPFLAGS+=	-DUSE_XAA
.endif