1
0
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:
Kaspar Schleiser 2017-11-02 16:10:14 +01:00 committed by GitHub
commit 66bd9b0295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 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

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