[build] Add "make help" command

This commit is contained in:
Romain Goyet
2019-09-25 16:23:06 +02:00
committed by EmilieNumworks
parent fd3c66aaeb
commit 5ef8f2bc1d

View File

@@ -32,7 +32,6 @@ endef
.PHONY: info
info:
@echo "========= Building Flags ========="
@echo "EPSILON_VERSION = $(EPSILON_VERSION)"
@echo "EPSILON_APPS = $(EPSILON_APPS)"
@echo "EPSILON_I18N = $(EPSILON_I18N)"
@@ -44,54 +43,28 @@ info:
@echo "ION_STORAGE_LOG" = $(ION_STORAGE_LOG)
@echo "POINCARE_TREE_LOG" = $(POINCARE_TREE_LOG)
@echo "POINCARE_TESTS_PRINT_EXPRESSIONS" = $(POINCARE_TESTS_PRINT_EXPRESSIONS)
@echo "=================================="
.PHONY: help
help:
@echo "Device targets"
@echo " make epsilon_flash"
@echo " make epsilon.dfu"
@echo " make epsilon.on-boarding.dfu"
@echo " make epsilon.on-boarding.update.dfu"
@echo " make epsilon.on-boarding.beta.dfu"
@echo " make flasher.light.bin"
@echo " make flasher.verbose.dfu"
@echo " make bench.ram.bin"
@echo " make bench.flash.bin"
@echo " make binpack"
@echo ""
@echo "============= Targets ============"
@echo "--------- Cross-platforms --------"
@echo "epsilon"
@echo "epsilon.on-boarding"
@echo "epsilon.on-boarding.update"
@echo "epsilon.on-boarding.beta"
@echo "test"
@echo "PHONY:"
@echo " clean"
@echo " clean_for_apps_selection (use this 'light' clean before changing the flag EPSILON_APPS)"
@echo "----------------------------------"
@echo ""
@echo "------------- Device -------------"
@echo "flasher.light"
@echo "flasher.verbose"
@echo "bench.ram"
@echo "bench.flash"
@echo "PHONY:"
@echo " binpack"
@echo " %_two_binaries"
@echo " %_size"
@echo " %_run"
@echo " %_memory_map"
@echo " %_flash"
@echo " clean_for_apps_selection (use this 'light' clean before changing the flag EPSILON_APPS)"
@echo ".............N0110................"
@echo "test.external_flash.write"
@echo "test.external_flash.read"
@echo ".................................."
@echo "----------------------------------"
@echo ""
@echo "----------- emscripten -----------"
@echo "simulator.zip"
@echo "----------------------------------"
@echo ""
@echo "----------- blackbox -------------"
@echo "compare"
@echo "PHONY:"
@echo " tests/%.run"
@echo " tests/%.render"
@echo " integration_tests"
@echo " epsilon_fuzz"
@echo " compare_fuzz"
@echo "----------------------------------"
@echo ""
@echo "=================================="
@echo "Simulator targets"
@echo " make PLATFORM=simulator"
@echo " make PLATFORM=simulator TARGET=android"
@echo " make PLATFORM=simulator TARGET=ios"
@echo " make PLATFORM=simulator TARGET=macos"
@echo " make PLATFORM=simulator TARGET=web"
@echo " make PLATFORM=simulator TARGET=windows"
# Since we're building out-of-tree, we need to make sure the output directories
# are created, otherwise the receipes will fail (e.g. gcc will fail to create