2021-07-05 17:44:45 +02:00
|
|
|
ifeq ($(CONTRIB_DIR),)
|
2022-09-23 15:05:17 +02:00
|
|
|
DRM_SRC_DIR := $(realpath $(call select_from_repositories,include/drm)/../..)
|
2021-07-05 17:44:45 +02:00
|
|
|
else
|
2022-09-23 15:05:17 +02:00
|
|
|
DRM_SRC_DIR := $(call select_from_ports,libdrm)/src/lib/libdrm
|
2021-07-05 17:44:45 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
INC_DIR += $(DRM_SRC_DIR)
|
2022-07-15 16:44:15 +02:00
|
|
|
INC_DIR += $(DRM_SRC_DIR)/include
|
2021-11-16 17:46:59 +01:00
|
|
|
INC_DIR += $(addprefix $(DRM_SRC_DIR)/,include/etnaviv include/drm include)
|
2021-07-05 17:44:45 +02:00
|
|
|
INC_DIR += $(addprefix $(DRM_SRC_DIR)/,etnaviv)
|
2021-03-19 15:29:55 +01:00
|
|
|
INC_DIR += $(addprefix $(DRM_SRC_DIR)/,iris)
|