genode/repos/libports/lib/mk/iris_gen.inc
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
541 B
PHP

LIBS = libc
include $(REP_DIR)/lib/mk/mesa-common.inc
INC_DIR += $(MESA_GEN_DIR)/src/compiler/nir \
$(MESA_GEN_DIR)/src/intel \
$(MESA_SRC_DIR)/src/compiler/nir \
$(MESA_SRC_DIR)/src/gallium/auxiliary \
$(MESA_SRC_DIR)/src/intel \
$(MESA_SRC_DIR)/src/mapi \
$(MESA_SRC_DIR)/src/mesa
CC_OPT += -DGALLIUM_IRIS
SRC_C = gallium/drivers/iris/iris_query.c \
gallium/drivers/iris/iris_state.c \
gallium/drivers/iris/iris_blorp.c
vpath %.c $(MESA_SRC_DIR)/src