blob: 259c26a931bd525c1806a1c0f0198547d5b933c8 [file] [log] [blame]
Chia-I Wu97ea8e92009-11-06 16:27:19 +08001# Configuration for OpenGL ES on Linux
2
3include $(TOP)/configs/linux
4
5CONFIG_NAME = linux-opengl-es
6
7# Directories to build
8LIB_DIR = lib
Chia-I Wubffe94d2010-01-05 15:57:13 +08009SRC_DIRS = egl glsl mesa/es gallium gallium/winsys
Chia-I Wu9f385532009-11-10 12:48:14 +080010PROGRAM_DIRS = es1/screen es1/xegl es2/xegl
Chia-I Wu97ea8e92009-11-06 16:27:19 +080011
Chia-I Wu3c967a92010-01-22 16:31:43 +080012# egl st needs this
Chia-I Wu52d7b2c2010-01-22 15:18:45 +080013DEFINES += -DGLX_DIRECT_RENDERING
14
Chia-I Wu97ea8e92009-11-06 16:27:19 +080015# no mesa or egl drivers
16DRIVER_DIRS =
17EGL_DRIVERS_DIRS =
18
19GALLIUM_DRIVERS_DIRS = softpipe
20
Chia-I Wu3b0ffd52010-01-22 16:02:39 +080021# build libGLES*.so
Chia-I Wu97ea8e92009-11-06 16:27:19 +080022GALLIUM_STATE_TRACKERS_DIRS = es
Chia-I Wu9f385532009-11-10 12:48:14 +080023
Chia-I Wu3b0ffd52010-01-22 16:02:39 +080024# build egl_x11_{swrast,i915}.so
Chia-I Wu9f385532009-11-10 12:48:14 +080025GALLIUM_DRIVERS_DIRS += trace i915
Chia-I Wu3c967a92010-01-22 16:31:43 +080026GALLIUM_STATE_TRACKERS_DIRS += egl
Chia-I Wu9f385532009-11-10 12:48:14 +080027GALLIUM_WINSYS_DIRS += drm
Chia-I Wu3b0ffd52010-01-22 16:02:39 +080028GALLIUM_WINSYS_DRM_DIRS += intel swrast