genode/repos/libports/lib/mk/egl.mk
Sebastian Sumpf d71b6ca305 mesa: update to version 24.0.1
Supported Gallium drivers are iris (Intel), lima (PinePhone), etnaviv
(i.MX8).

issue #5224
2024-05-29 09:18:11 +02:00

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