aboutsummaryrefslogtreecommitdiffstats
path: root/configs/linux-opengl-es
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-opengl-es')
-rw-r--r--configs/linux-opengl-es27
1 files changed, 27 insertions, 0 deletions
diff --git a/configs/linux-opengl-es b/configs/linux-opengl-es
new file mode 100644
index 00000000000..566cd758e3e
--- /dev/null
+++ b/configs/linux-opengl-es
@@ -0,0 +1,27 @@
+# Configuration for OpenGL ES on Linux
+
+include $(TOP)/configs/linux
+
+CONFIG_NAME = linux-opengl-es
+
+# Directories to build
+LIB_DIR = lib
+SRC_DIRS = egl glsl mesa/es gallium gallium/winsys
+PROGRAM_DIRS = es1/screen 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
+
+# build egl_i915.so
+GALLIUM_DRIVERS_DIRS += trace i915
+GALLIUM_STATE_TRACKERS_DIRS += egl
+GALLIUM_WINSYS_DIRS += drm
+GALLIUM_WINSYS_DRM_DIRS = intel