Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/server/drivers/xf86-video-amdgpu build glu...
details: https://anonhg.NetBSD.org/src/rev/bbb77cc5edd8
branches: trunk
changeset: 347206:bbb77cc5edd8
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Aug 18 07:49:09 2016 +0000
description:
build glue for xf86-video-amdgpu
diffstat:
external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile | 30 +++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diffs (34 lines):
diff -r 2e59d1e9f41d -r bbb77cc5edd8 external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile Thu Aug 18 07:49:09 2016 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2016/08/18 07:49:09 mrg Exp $
+
+.include <bsd.own.mk>
+
+DRIVER= xf86-video-amdgpu
+DRIVER_NAME= amdgpu_drv
+
+LIBDPLIBS+= drm_amdgpu ${.CURDIR}/../../../lib/libdrm_amdgpu
+
+SRCS.KMS= amdgpu_bo_helper.c amdgpu_dri2.c amdgpu_dri3.c \
+ amdgpu_drm_queue.c amdgpu_kms.c amdgpu_present.c \
+ amdgpu_sync.c drmmode_display.c
+SRCS.GLAMOR= amdgpu_glamor.c amdgpu_glamor_wrappers.c amdgpu_pixmap.c
+
+SRCS= amdgpu_video.c amdgpu_misc.c amdgpu_probe.c \
+ $(SRCS.KMS) $(SRCS.GLAMOR)
+
+MAN= amdgpu.4
+
+CPPFLAGS+= -DHAVE_CONFIG_H
+CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
+ -I${DESTDIR}${X11INCDIR}/X11/dri \
+ -I${DESTDIR}${X11INCDIR}/libdrm \
+ -I${DESTDIR}${X11INCDIR}/pixman-1 \
+ -I${X11SRCDIR.${DRIVER}}/../include
+
+# XXX
+COPTS+= -Wno-error
+
+.include "../Makefile.xf86-driver"
Home |
Main Index |
Thread Index |
Old Index