genode/repos/libports/lib/mk/egl_etnaviv.mk
Sebastian Sumpf 38d731bd79 libports: Add Mesa-21.0.0 support
* 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
2021-08-30 15:00:38 +02:00

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 =