blob: ae48a383f77294b773f4fd304a1c61ce791979c1 [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 Wu296adbd2010-04-26 12:56:44 +08009SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \
10 gallium gallium/winsys gallium/targets
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 =
Chia-I Wu97ea8e92009-11-06 16:27:19 +080017
18GALLIUM_DRIVERS_DIRS = softpipe
19
Chia-I Wu3b0ffd52010-01-22 16:02:39 +080020# build libGLES*.so
Chia-I Wu97ea8e92009-11-06 16:27:19 +080021GALLIUM_STATE_TRACKERS_DIRS = es
Chia-I Wu9f385532009-11-10 12:48:14 +080022
Chia-I Wu3b0ffd52010-01-22 16:02:39 +080023# build egl_x11_{swrast,i915}.so
Jakob Bornecrantz2c3fb4e2010-05-04 12:06:37 +010024GALLIUM_DRIVERS_DIRS += trace rbug i915
Chia-I Wu3c967a92010-01-22 16:31:43 +080025GALLIUM_STATE_TRACKERS_DIRS += egl
Jakob Bornecrantzf5ba2cd2010-03-24 10:58:45 +010026GALLIUM_WINSYS_DIRS += drm/intel
27GALLIUM_TARGET_DIRS += egl-swrast egl-i915