genode/repos/libports/lib/import/import-libdrm.mk

12 lines
405 B
Makefile
Raw Normal View History

ifeq ($(CONTRIB_DIR),)
DRM_SRC_DIR := $(realpath $(call select_from_repositories,include/drm)/../..)
else
DRM_SRC_DIR := $(call select_from_ports,libdrm)/src/lib/libdrm
endif
INC_DIR += $(DRM_SRC_DIR)
INC_DIR += $(DRM_SRC_DIR)/include
INC_DIR += $(addprefix $(DRM_SRC_DIR)/,include/etnaviv include/drm include)
INC_DIR += $(addprefix $(DRM_SRC_DIR)/,etnaviv)
INC_DIR += $(addprefix $(DRM_SRC_DIR)/,iris)