add 'make help' hooks
Projects can define will_help and/or did_help functions, which lets them add additional help text (output of 'make help') before respectively after the standard esp-open-rtos help text.
This commit is contained in:
parent
a89417e26e
commit
4ceeef9e21
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,7 @@ clean:
|
|||
|
||||
# print some useful help stuff
|
||||
help:
|
||||
$(if will_help, $(call will_help))
|
||||
@echo "esp-open-rtos make"
|
||||
@echo ""
|
||||
@echo "Other targets:"
|
||||
|
@ -304,5 +305,6 @@ help:
|
|||
@echo "SAMPLE COMMAND LINE:"
|
||||
@echo "make -j2 test ESPPORT=/dev/ttyUSB0"
|
||||
@echo ""
|
||||
$(if did_help, $(call did_help))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue