2009-11-06 16:27:19 +08:00
|
|
|
# Configuration for OpenGL ES on Linux
|
|
|
|
|
|
|
|
include $(TOP)/configs/linux
|
|
|
|
|
|
|
|
CONFIG_NAME = linux-opengl-es
|
|
|
|
|
|
|
|
# Directories to build
|
|
|
|
LIB_DIR = lib
|
2010-04-26 12:56:44 +08:00
|
|
|
SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \
|
|
|
|
gallium gallium/winsys gallium/targets
|
2009-11-06 16:27:19 +08:00
|
|
|
|
2010-01-22 16:31:43 +08:00
|
|
|
# egl st needs this
|
2010-01-22 15:18:45 +08:00
|
|
|
DEFINES += -DGLX_DIRECT_RENDERING
|
|
|
|
|
2009-11-06 16:27:19 +08:00
|
|
|
# no mesa or egl drivers
|
|
|
|
DRIVER_DIRS =
|
|
|
|
EGL_DRIVERS_DIRS =
|
|
|
|
|
|
|
|
GALLIUM_DRIVERS_DIRS = softpipe
|
|
|
|
|
2010-01-22 16:02:39 +08:00
|
|
|
# build libGLES*.so
|
2009-11-06 16:27:19 +08:00
|
|
|
GALLIUM_STATE_TRACKERS_DIRS = es
|
2009-11-10 12:48:14 +08:00
|
|
|
|
2010-01-22 16:02:39 +08:00
|
|
|
# build egl_x11_{swrast,i915}.so
|
2010-05-04 12:06:37 +01:00
|
|
|
GALLIUM_DRIVERS_DIRS += trace rbug i915
|
2010-01-22 16:31:43 +08:00
|
|
|
GALLIUM_STATE_TRACKERS_DIRS += egl
|
2010-03-24 10:58:45 +01:00
|
|
|
GALLIUM_WINSYS_DIRS += drm/intel
|
|
|
|
GALLIUM_TARGET_DIRS += egl-swrast egl-i915
|