Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/genlink-config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/genlink-config.mk b/mk/genlink-config.mk
index b2dfb3c6..6935ec9b 100644
--- a/mk/genlink-config.mk
+++ b/mk/genlink-config.mk
@@ -56,9 +56,11 @@ endif
# where those are provided by different means
ifneq (,$(wildcard $(OPENCM3_DIR)/lib/libopencm3_$(genlink_family).a))
LDLIBS += -lopencm3_$(genlink_family)
+LIBDEPS += $(OPENCM3_DIR)/lib/libopencm3_$(genlink_family).a
else
ifneq (,$(wildcard $(OPENCM3_DIR)/lib/libopencm3_$(genlink_subfamily).a))
LDLIBS += -lopencm3_$(genlink_subfamily)
+LIBDEPS += $(OPENCM3_DIR)/lib/libopencm3_$(genlink_subfamily).a
else
$(warning $(OPENCM3_DIR)/lib/libopencm3_$(genlink_family).a library variant for the selected device does not exist.)
endif