mk rules: Improve behaviour when DEVICE is set to family. Improved Warning
The warning now uses family instead of subfamily, which is available sooner.
This commit is contained in:
committed by
Karl Palsson
parent
60ca09c61e
commit
6aeb55c5d7
@@ -60,7 +60,7 @@ else
|
||||
ifneq (,$(wildcard $(OPENCM3_DIR)/lib/libopencm3_$(genlink_subfamily).a))
|
||||
LDLIBS += -lopencm3_$(genlink_subfamily)
|
||||
else
|
||||
$(warning $(OPENCM3_DIR)/lib/libopencm3_$(genlink_subfamily).a library variant for the selected device does not exist.)
|
||||
$(warning $(OPENCM3_DIR)/lib/libopencm3_$(genlink_family).a library variant for the selected device does not exist.)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user