Skip to content

Commit

Permalink
build system: Make use of YAML feature list
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Feb 12, 2024
1 parent 8086183 commit e894951
Show file tree
Hide file tree
Showing 5 changed files with 860 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ distclean: docclean pkg-clean
print-versions:
@./dist/tools/ci/print_toolchain_versions.sh

generate-features:
@./dist/tools/features_yaml2mx/features_yaml2mx.py \
features.yaml \
--output-md doc/doxygen/src/feature_list.md \
--output-makefile makefiles/features_existing.inc.mk


include makefiles/boards.inc.mk
include makefiles/app_dirs.inc.mk

Expand All @@ -53,7 +60,7 @@ welcome:
@echo " https://forum.riot-os.org"
@echo ""
@echo "Available targets for the RIOT base directory include:"
@echo " generate-{board,driver,example,module,pkg,test}"
@echo " generate-{board,driver,example,module,pkg,test,features}"
@echo " info-{applications,boards,emulated-boards} info-applications-supported-boards"
@echo " print-versions"
@echo " clean distclean pkg-clean"
Expand Down
1 change: 1 addition & 0 deletions doc/doxygen/riot.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ INPUT = ../../doc.txt \
src/build-in-docker.md \
../../tests/README.md \
src/build-system-basics.md \
src/feature_list.md \
src/kconfig/kconfig.md \
src/using-cpp.md \
src/using-rust.md \
Expand Down
Loading

0 comments on commit e894951

Please sign in to comment.