Chia-I Wu | 97ea8e9 | 2009-11-06 16:27:19 +0800 | [diff] [blame] | 1 | # Configuration for OpenGL ES on Linux |
| 2 | |
| 3 | include $(TOP)/configs/linux |
| 4 | |
| 5 | CONFIG_NAME = linux-opengl-es |
| 6 | |
| 7 | # Directories to build |
| 8 | LIB_DIR = lib |
Chia-I Wu | 296adbd | 2010-04-26 12:56:44 +0800 | [diff] [blame] | 9 | SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \ |
| 10 | gallium gallium/winsys gallium/targets |
Chia-I Wu | 97ea8e9 | 2009-11-06 16:27:19 +0800 | [diff] [blame] | 11 | |
Chia-I Wu | 3c967a9 | 2010-01-22 16:31:43 +0800 | [diff] [blame] | 12 | # egl st needs this |
Chia-I Wu | 52d7b2c | 2010-01-22 15:18:45 +0800 | [diff] [blame] | 13 | DEFINES += -DGLX_DIRECT_RENDERING |
| 14 | |
Chia-I Wu | 97ea8e9 | 2009-11-06 16:27:19 +0800 | [diff] [blame] | 15 | # no mesa or egl drivers |
| 16 | DRIVER_DIRS = |
Chia-I Wu | 97ea8e9 | 2009-11-06 16:27:19 +0800 | [diff] [blame] | 17 | |
| 18 | GALLIUM_DRIVERS_DIRS = softpipe |
| 19 | |
Chia-I Wu | 3b0ffd5 | 2010-01-22 16:02:39 +0800 | [diff] [blame] | 20 | # build libGLES*.so |
Chia-I Wu | 97ea8e9 | 2009-11-06 16:27:19 +0800 | [diff] [blame] | 21 | GALLIUM_STATE_TRACKERS_DIRS = es |
Chia-I Wu | 9f38553 | 2009-11-10 12:48:14 +0800 | [diff] [blame] | 22 | |
Chia-I Wu | 3b0ffd5 | 2010-01-22 16:02:39 +0800 | [diff] [blame] | 23 | # build egl_x11_{swrast,i915}.so |
Jakob Bornecrantz | 2c3fb4e | 2010-05-04 12:06:37 +0100 | [diff] [blame] | 24 | GALLIUM_DRIVERS_DIRS += trace rbug i915 |
Chia-I Wu | 3c967a9 | 2010-01-22 16:31:43 +0800 | [diff] [blame] | 25 | GALLIUM_STATE_TRACKERS_DIRS += egl |
Jakob Bornecrantz | f5ba2cd | 2010-03-24 10:58:45 +0100 | [diff] [blame] | 26 | GALLIUM_WINSYS_DIRS += drm/intel |
| 27 | GALLIUM_TARGET_DIRS += egl-swrast egl-i915 |