[build] add a few pseudo targets to assist with building

list-arch and list-toolchain will compute and print the architecture and
toolchain needed to build the project the build is set to.

Used by the CI builder to decide what toolchain to grab.
This commit is contained in:
Travis Geiselbrecht
2021-09-18 16:51:15 -07:00
parent 20af129a81
commit ddd7cba04d
3 changed files with 28 additions and 7 deletions

View File

@@ -23,6 +23,9 @@ help:
@echo "make spotless: removes all build directories"
@echo "make <project>: try to build project named <project>"
@echo ""
@echo "make list-arch: print the architecture of the current project"
@echo "make list-toolchain: print the computed toolchain prefix of the current project"
@echo ""
@echo "Examples:"
@echo "PROJECT=testproject make"
@echo "PROJECT=testproject make clean"