genode/repos/libports/recipes/api/mesa/content.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

24 lines
504 B
Makefile

MIRROR_FROM_REP_DIR := lib/import/import-mesa.mk \
lib/import/import-mesa_api.mk \
lib/symbols/egl \
lib/symbols/mesa
content: $(MIRROR_FROM_REP_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/mesa)
content: include
include:
mkdir -p $@
cp -r $(PORT_DIR)/include/* $@
cp -r $(REP_DIR)/include/EGL $@
content: LICENSE
LICENSE:
cp $(PORT_DIR)/src/lib/mesa/docs/license.rst $@