2009-11-06 08:27:19 +00: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 05:56:44 +01:00
|
|
|
SRC_DIRS = egl glsl mapi/es1api mapi/es2api mesa/es \
|
|
|
|
gallium gallium/winsys gallium/targets
|
2009-11-06 08:27:19 +00:00
|
|
|
|
2010-01-22 08:31:43 +00:00
|
|
|
# egl st needs this
|
2010-01-22 07:18:45 +00:00
|
|
|
DEFINES += -DGLX_DIRECT_RENDERING
|
|
|
|
|
2009-11-06 08:27:19 +00:00
|
|
|
# no mesa or egl drivers
|
|
|
|
DRIVER_DIRS =
|
|
|
|
EGL_DRIVERS_DIRS =
|
|
|
|
|
|
|
|
GALLIUM_DRIVERS_DIRS = softpipe
|
|
|
|
|
2010-01-22 08:02:39 +00:00
|
|
|
# build libGLES*.so
|
2009-11-06 08:27:19 +00:00
|
|
|
GALLIUM_STATE_TRACKERS_DIRS = es
|
2009-11-10 04:48:14 +00:00
|
|
|
|
2010-01-22 08:02:39 +00:00
|
|
|
# build egl_x11_{swrast,i915}.so
|
2010-05-04 12:06:37 +01:00
|
|
|
GALLIUM_DRIVERS_DIRS += trace rbug i915
|
2010-01-22 08:31:43 +00:00
|
|
|
GALLIUM_STATE_TRACKERS_DIRS += egl
|
2010-03-24 09:58:45 +00:00
|
|
|
GALLIUM_WINSYS_DIRS += drm/intel
|
|
|
|
GALLIUM_TARGET_DIRS += egl-swrast egl-i915
|