mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #7809 from smlng/makefiles/fix_info_targets
makefiles: fix (and add) info targets
This commit is contained in:
commit
66bd9b0295
@ -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)))
|
||||
|
@ -1,5 +1,6 @@
|
||||
.PHONY: info-objsize info-buildsizes info-build info-boards-supported \
|
||||
info-features-missing info-modules info-cpu
|
||||
info-features-missing info-modules info-cpu \
|
||||
info-features-provided info-features-required
|
||||
|
||||
info-objsize:
|
||||
@case "${SORTROW}" in \
|
||||
@ -114,5 +115,11 @@ info-modules:
|
||||
info-cpu:
|
||||
@echo $(CPU)
|
||||
|
||||
info-features-provided:
|
||||
@for i in $(sort $(FEATURES_PROVIDED)); do echo $$i; done
|
||||
|
||||
info-features-required:
|
||||
@for i in $(sort $(FEATURES_REQUIRED)); do echo $$i; done
|
||||
|
||||
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