From b2695c540857197acbf70e7865c16e0722083001 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Wed, 25 Mar 2020 17:12:27 +0100 Subject: [PATCH] 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 --- Makefile.features | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.features b/Makefile.features index 2ec9b3e245..209957b86d 100644 --- a/Makefile.features +++ b/Makefile.features @@ -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)