Add new config for OpenGL ES.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 6 Nov 2009 08:27:19 +0000 (16:27 +0800)
committerBrian Paul <brianp@vmware.com>
Fri, 6 Nov 2009 21:19:24 +0000 (14:19 -0700)
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Makefile
configs/linux-opengl-es [new file with mode: 0644]

index 4c4aba0..5029f72 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -126,6 +126,7 @@ linux-ia64-icc-static \
 linux-icc \
 linux-icc-static \
 linux-llvm \
+linux-opengl-es \
 linux-osmesa \
 linux-osmesa-static \
 linux-osmesa16 \
diff --git a/configs/linux-opengl-es b/configs/linux-opengl-es
new file mode 100644 (file)
index 0000000..2ba94b6
--- /dev/null
@@ -0,0 +1,21 @@
+# Configuration for OpenGL ES on Linux
+
+include $(TOP)/configs/linux
+
+CONFIG_NAME = linux-opengl-es
+
+# Directories to build
+LIB_DIR = lib
+SRC_DIRS = egl mesa/es gallium gallium/winsys
+PROGRAM_DIRS = es1/xegl es2/xegl
+
+# no mesa or egl drivers
+DRIVER_DIRS =
+EGL_DRIVERS_DIRS =
+
+GALLIUM_DRIVERS_DIRS = softpipe
+
+# build egl_softpipe.so
+GALLIUM_WINSYS_DIRS = egl_xlib
+# and libGLES*.so
+GALLIUM_STATE_TRACKERS_DIRS = es