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 add build glue for xf86-vid...



details:   https://anonhg.NetBSD.org/src/rev/237d1d281cc6
branches:  trunk
changeset: 755208:237d1d281cc6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri May 28 02:35:46 2010 +0000

description:
add build glue for xf86-video-geode and xf86-video-openchrome and
obsolete xf86-video-via.

diffstat:

 external/mit/xorg/server/drivers/xf86-video-geode/Makefile      |  49 ++++++++++
 external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile |  43 ++++++++
 external/mit/xorg/server/drivers/xf86-video-via/Makefile        |  17 ---
 3 files changed, 92 insertions(+), 17 deletions(-)

diffs (121 lines):

diff -r 27fb5f4be9a3 -r 237d1d281cc6 external/mit/xorg/server/drivers/xf86-video-geode/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-geode/Makefile        Fri May 28 02:35:46 2010 +0000
@@ -0,0 +1,49 @@
+#      $NetBSD: Makefile,v 1.1 2010/05/28 02:35:46 mrg Exp $
+
+DRIVER=                xf86-video-geode
+DRIVER_NAME=   geode_drv
+
+SRCS=  \
+       geode_driver.c \
+       geode_common.c \
+       geode_dcon.c \
+       geode_ddc.c \
+       geode_msr.c \
+       gx_driver.c\
+       gx_accel.c \
+       gx_cursor.c \
+       gx_video.c \
+       gx_regacc.c \
+       gx_rotate.c \
+       gx_randr.c \
+       durango.c \
+       panel.c \
+       lx_driver.c \
+       lx_cursor.c \
+       lx_memory.c \
+       lx_panel.c \
+       lx_output.c \
+       lx_display.c \
+       lx_video.c \
+       lx_exa.c \
+       cimarron.c
+NOMAN= # defined
+
+CPPFLAGS+=     -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL -DPNL_SUP
+# This enables multi-mmap support; no idea why it is Linux 2.6 specific
+CPPFLAGS+=     -DLINUX_2_6
+
+CPPFLAGS+=     -I${X11SRCDIR.${DRIVER}}/src/cim \
+               -I${X11SRCDIR.${DRIVER}}/src/gfx \
+               -I${X11SRCDIR.${DRIVER}}/src/panel
+
+CPPFLAGS+=     -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
+
+# XXX ugh
+CPPFLAGS+=     -Doff64_t=off_t
+
+COPTS.gx_randr.c+=     -Wno-error      # XXX
+COPTS.lx_memory.c+=    -Wno-error      # XXX
+COPTS.panel.c+=                -Wno-error      # XXX -- huh? don't get this one
+
+.include "../Makefile.xf86-driver"
diff -r 27fb5f4be9a3 -r 237d1d281cc6 external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-openchrome/Makefile   Fri May 28 02:35:46 2010 +0000
@@ -0,0 +1,43 @@
+#      $NetBSD: Makefile,v 1.1 2010/05/28 02:35:46 mrg Exp $
+
+DRIVER=                xf86-video-openchrome
+DRIVER_NAME=   openchrome_drv
+
+SRCS=  \
+       via_3d.c \
+       via_accel.c \
+       via_bandwidth.c \
+       via_ch7xxx.c \
+       via_cursor.c \
+       via_crtc.c \
+       via_dga.c \
+       via_display.c \
+       via_driver.c \
+       via_i2c.c \
+       via_id.c \
+       via_lvds.c \
+       via_memcpy.c \
+       via_memory.c \
+       via_mode.c \
+       via_panel.c \
+       via_shadow.c \
+       via_swov.c \
+       via_timing.c \
+       via_vbe.c \
+       via_vgahw.c \
+       via_video.c \
+       via_vt162x.c
+
+# DRI
+SRCS+= \
+       via_dri.c \
+       via_xvmc.c
+
+MAN=   openchrome.4
+
+CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11
+CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11/dri
+CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm
+CPPFLAGS+=     -I${X11SRCDIR.${DRIVER}}/src
+
+.include "../Makefile.xf86-driver"
diff -r 27fb5f4be9a3 -r 237d1d281cc6 external/mit/xorg/server/drivers/xf86-video-via/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-via/Makefile  Fri May 28 02:24:27 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-#      $NetBSD: Makefile,v 1.6 2010/05/23 01:59:13 mrg Exp $
-
-DRIVER=                xf86-video-via
-DRIVER_NAME=   via_drv
-
-SRCS=          via_3d.c via_accel.c via_bandwidth.c via_cursor.c
-SRCS+=         via_dga.c via_driver.c via_i2c.c via_id.c via_memcpy.c
-SRCS+=         via_memory.c via_mode.c via_shadow.c via_swov.c
-SRCS+=         via_vbe.c via_vgahw.c via_video.c via_vt162x.c
-SRCS+=         via_dri.c via_xvmc.c
-MAN=           via.4
-
-CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11
-CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11/dri
-CPPFLAGS+=     -I${X11SRCDIR.${DRIVER}}/src
-
-.include "../Makefile.xf86-driver"



Home | Main Index | Thread Index | Old Index