mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles: fix duplicate for missing features
This commit is contained in:
parent
ce75edc7c1
commit
fe1a99e1b1
@ -26,7 +26,7 @@ define board_missing_features
|
||||
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
|
||||
FEATURES_MISSING := $$(filter-out $$(FEATURES_PROVIDED), $$(FEATURES_REQUIRED))
|
||||
FEATURES_MISSING := $$(sort $$(filter-out $$(FEATURES_PROVIDED), $$(FEATURES_REQUIRED)))
|
||||
ifneq (, $${FEATURES_MISSING})
|
||||
BOARDS_FEATURES_MISSING += "${1} $${FEATURES_MISSING}"
|
||||
ifneq (, $$(filter-out $$(FEATURES_OPTIONAL), $$(FEATURES_MISSING)))
|
||||
|
@ -115,4 +115,4 @@ info-cpu:
|
||||
@echo $(CPU)
|
||||
|
||||
info-features-missing:
|
||||
@echo $(filter-out $(FEATURES_PROVIDED), $(FEATURES_REQUIRED))
|
||||
@for i in $(sort $(filter-out $(FEATURES_PROVIDED), $(FEATURES_REQUIRED))); do echo $$i; done
|
||||
|
Loading…
Reference in New Issue
Block a user