summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-vmwgfx
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-03-25 14:48:41 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-03-25 14:48:41 +0100
commit7d17de4b47b68dfd9137d3f8c5edf627d5ade902 (patch)
treebddabffc3a56ca7fe664484d06538ae7425ee2f1 /src/gallium/targets/egl-vmwgfx
parent8b12c58ce41f33108431213725d5d9b9aac8912c (diff)
parent0d0220fedc7a8d490162f7385d19b2d0ab3fb8d9 (diff)
Merge branch 'gallium-targets'
Diffstat (limited to 'src/gallium/targets/egl-vmwgfx')
-rw-r--r--src/gallium/targets/egl-vmwgfx/Makefile14
-rw-r--r--src/gallium/targets/egl-vmwgfx/dummy.c3
2 files changed, 17 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-vmwgfx/Makefile b/src/gallium/targets/egl-vmwgfx/Makefile
new file mode 100644
index 0000000000..6db12e03a7
--- /dev/null
+++ b/src/gallium/targets/egl-vmwgfx/Makefile
@@ -0,0 +1,14 @@
+TOP = ../../../..
+include $(TOP)/configs/current
+
+EGL_DRIVER_NAME = vmwgfx
+EGL_DRIVER_SOURCES = dummy.c
+EGL_DRIVER_LIBS =
+
+EGL_DRIVER_PIPES = \
+ $(TOP)/src/gallium/winsys/svga/drm/libsvgadrm.a \
+ $(TOP)/src/gallium/drivers/softpipe/libsoftpipe.a \
+ $(TOP)/src/gallium/drivers/trace/libtrace.a \
+ $(TOP)/src/gallium/drivers/svga/libsvga.a
+
+include ../Makefile.egl
diff --git a/src/gallium/targets/egl-vmwgfx/dummy.c b/src/gallium/targets/egl-vmwgfx/dummy.c
new file mode 100644
index 0000000000..3181d0ba7e
--- /dev/null
+++ b/src/gallium/targets/egl-vmwgfx/dummy.c
@@ -0,0 +1,3 @@
+/* A poor man's --whole-archive for EGL drivers */
+void *_eglMain(void *);
+void *_eglWholeArchive = (void *) _eglMain;