genode/repos/libports/lib/mk/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

64 lines
2.7 KiB
Makefile

LIBS = libc libdrm
include $(REP_DIR)/lib/mk/mesa-common.inc
INC_DIR += $(MESA_SRC_DIR)/src/compiler/nir \
$(MESA_SRC_DIR)/src/etnaviv \
$(MESA_SRC_DIR)/src/gallium/auxiliary \
$(MESA_SRC_DIR)/src/gallium/drivers \
$(MESA_SRC_DIR)/src/util \
$(MESA_GEN_DIR)/src/compiler/nir \
$(MESA_PORT_DIR)/include/drm-uapi
REP_INC_DIR += include/drm-uapi
SRC_C = etnaviv/drm/etnaviv_bo.c \
etnaviv/drm/etnaviv_bo_cache.c \
etnaviv/drm/etnaviv_cmd_stream.c \
etnaviv/drm/etnaviv_device.c \
etnaviv/drm/etnaviv_gpu.c \
etnaviv/drm/etnaviv_perfmon.c \
etnaviv/drm/etnaviv_pipe.c \
gallium/drivers/etnaviv/etnaviv_asm.c \
gallium/drivers/etnaviv/etnaviv_blend.c \
gallium/drivers/etnaviv/etnaviv_blt.c \
gallium/drivers/etnaviv/etnaviv_clear_blit.c \
gallium/drivers/etnaviv/etnaviv_compiler.c \
gallium/drivers/etnaviv/etnaviv_compiler_nir.c \
gallium/drivers/etnaviv/etnaviv_compiler_nir_emit.c \
gallium/drivers/etnaviv/etnaviv_compiler_nir_liveness.c \
gallium/drivers/etnaviv/etnaviv_compiler_nir_ra.c \
gallium/drivers/etnaviv/etnaviv_compiler_tgsi.c \
gallium/drivers/etnaviv/etnaviv_context.c \
gallium/drivers/etnaviv/etnaviv_disasm.c \
gallium/drivers/etnaviv/etnaviv_disk_cache.c \
gallium/drivers/etnaviv/etnaviv_emit.c \
gallium/drivers/etnaviv/etnaviv_etc2.c \
gallium/drivers/etnaviv/etnaviv_fence.c \
gallium/drivers/etnaviv/etnaviv_format.c \
gallium/drivers/etnaviv/etnaviv_nir.c \
gallium/drivers/etnaviv/etnaviv_perfmon.c \
gallium/drivers/etnaviv/etnaviv_query_acc.c \
gallium/drivers/etnaviv/etnaviv_query_acc_occlusion.c \
gallium/drivers/etnaviv/etnaviv_query_acc_perfmon.c \
gallium/drivers/etnaviv/etnaviv_query.c \
gallium/drivers/etnaviv/etnaviv_query_sw.c \
gallium/drivers/etnaviv/etnaviv_rasterizer.c \
gallium/drivers/etnaviv/etnaviv_resource.c \
gallium/drivers/etnaviv/etnaviv_rs.c \
gallium/drivers/etnaviv/etnaviv_screen.c \
gallium/drivers/etnaviv/etnaviv_shader.c \
gallium/drivers/etnaviv/etnaviv_state.c \
gallium/drivers/etnaviv/etnaviv_surface.c \
gallium/drivers/etnaviv/etnaviv_texture.c \
gallium/drivers/etnaviv/etnaviv_texture_desc.c \
gallium/drivers/etnaviv/etnaviv_texture_state.c \
gallium/drivers/etnaviv/etnaviv_tiling.c \
gallium/drivers/etnaviv/etnaviv_transfer.c \
gallium/drivers/etnaviv/etnaviv_uniforms.c \
gallium/winsys/etnaviv/drm/etnaviv_drm_winsys.c \
gallium/drivers/etnaviv/etnaviv_zsa.c
vpath %.c $(MESA_SRC_DIR)/src