1
0
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:
smlng 2017-10-24 08:57:30 +02:00
parent ce75edc7c1
commit fe1a99e1b1
2 changed files with 2 additions and 2 deletions

View File

@ -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)))

View File

@ -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