mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 08:21:08 +00:00
d71b6ca305
Supported Gallium drivers are iris (Intel), lima (PinePhone), etnaviv (i.MX8). issue #5224
38 lines
970 B
Makefile
38 lines
970 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/gallium/auxiliary \
|
|
$(MESA_SRC_DIR)/src/gallium/frontends/dri \
|
|
$(MESA_SRC_DIR)/src/loader \
|
|
$(MESA_SRC_DIR)/src/mesa
|
|
|
|
SRC_C = main/eglapi.c \
|
|
main/eglarray.c \
|
|
main/eglconfig.c \
|
|
main/eglconfigdebug.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 \
|
|
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
|
|
|