1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Makefile.features: provide CPU as a feature

Provide the feature `cpu_$(CPU)`
This allows to easily list all boards with a CPU by running

    FEATURES_REQUIRED=cpu_samd21 make info-boards-supported
This commit is contained in:
Benjamin Valentin 2020-03-25 17:12:27 +01:00 committed by Benjamin Valentin
parent f6eacda9f8
commit b2695c5408

View File

@ -17,3 +17,6 @@ ifeq (,$(CPU))
endif
include $(RIOTCPU)/$(CPU)/Makefile.features
# Provide CPU as a feature to allow listing all boards with a CPU
FEATURES_PROVIDED += cpu_$(CPU)