mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
5e4e634625
If `select_from_ports` is evaluated lazily, we might miss a port during the dependency check. A way to prevent this is to use the `:=` operator. Fixes genodelabs/genode#4618
12 lines
405 B
Makefile
12 lines
405 B
Makefile
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)
|