mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 06:33:31 +00:00
38d731bd79
* Switch mesa support from DRI to gallium Supported drivers are - softpipe (Sebstian Sumpf) - iris for Intel GPUs (Alexander Boetcher) - etnaviv for Vivante GPUs (Josef Söntgen) * Mesa's generated files are placed into 'contrib/mesa-<hash>/generated' and are cloned per default from a separate Git repo in order to avoid hash updates upon package build. In case you need to generate files yourself use ! prepare_port mesa GENERATE_FILES=1 issue #4254
35 lines
835 B
Makefile
35 lines
835 B
Makefile
SHARED_LIB = yes
|
|
LIBS = libc blit
|
|
|
|
include $(REP_DIR)/lib/mk/mesa-common.inc
|
|
|
|
INC_DIR += $(MESA_SRC_DIR)/src/egl/main \
|
|
$(MESA_SRC_DIR)/src/egl/drivers/dri2 \
|
|
$(MESA_SRC_DIR)/src/loader
|
|
|
|
SRC_C = main/eglapi.c \
|
|
main/eglarray.c \
|
|
main/eglconfig.c \
|
|
main/eglcontext.c \
|
|
main/eglcurrent.c \
|
|
main/egldevice.c \
|
|
main/egldisplay.c \
|
|
main/eglglobals.c \
|
|
main/eglimage.c \
|
|
main/egllog.c \
|
|
main/eglsurface.c \
|
|
main/eglsync.c \
|
|
drivers/dri2/egl_dri2.c \
|
|
drivers/dri2/platform_device.c \
|
|
platform.c
|
|
|
|
SRC_CC = genode_interface.cc
|
|
|
|
CC_OPT += -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_GENODE \
|
|
-DHAVE_GENODE_PLATFORM
|
|
|
|
vpath %.c $(MESA_SRC_DIR)/src/egl
|
|
vpath %.c $(LIB_DIR)/egl
|
|
vpath %.cc $(LIB_DIR)/egl
|
|
|