Skip to content

Commit b2695c5

Browse files
committed
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
1 parent f6eacda commit b2695c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.features

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ ifeq (,$(CPU))
1717
endif
1818

1919
include $(RIOTCPU)/$(CPU)/Makefile.features
20+
21+
# Provide CPU as a feature to allow listing all boards with a CPU
22+
FEATURES_PROVIDED += cpu_$(CPU)

0 commit comments

Comments
 (0)