mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +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
20 lines
424 B
Makefile
20 lines
424 B
Makefile
SHARED_LIB = yes
|
|
LIBS = libc egl etnaviv
|
|
|
|
include $(REP_DIR)/lib/mk/mesa-common.inc
|
|
|
|
SRC_CC := drm_init.cc
|
|
SRC_C = platform_etnaviv.c
|
|
|
|
CC_OPT += -DHAVE_GENODE_PLATFORM
|
|
|
|
INC_DIR += $(MESA_SRC_DIR)/src/egl/drivers/dri2 \
|
|
$(MESA_SRC_DIR)/src/egl/main \
|
|
$(MESA_SRC_DIR)/src/mapi \
|
|
$(MESA_SRC_DIR)/src/mesa
|
|
|
|
vpath %.c $(LIB_DIR)/etnaviv
|
|
vpath %.cc $(LIB_DIR)/etnaviv
|
|
|
|
CC_CXX_WARN_STRICT =
|