diff options
author | Simon Glass <sjg@chromium.org> | 2018-10-01 21:12:36 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-10-08 07:34:34 -0600 |
commit | a3a3f5d5319dc4f25c012edc5446096c14ee1a9a (patch) | |
tree | ba2bd165e9763b6863cc6a48718befc378aabd37 | |
parent | da753e35cbd9a7fdad2e9be13a9642fb1d9af968 (diff) | |
download | u-boot-a3a3f5d5319dc4f25c012edc5446096c14ee1a9a.tar.gz u-boot-a3a3f5d5319dc4f25c012edc5446096c14ee1a9a.tar.xz u-boot-a3a3f5d5319dc4f25c012edc5446096c14ee1a9a.zip |
Makefile: Add a 'check' target for make
At present we use 'make tests' to run the tests. For many projects
'make check' is more common, so support that as well. Also add some help
to 'make help'.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1698,6 +1698,10 @@ help: @echo 'Configuration targets:' @$(MAKE) -f $(srctree)/scripts/kconfig/Makefile help @echo '' + @echo 'Test targets:' + @echo '' + @echo ' check - Run all automated tests that use sandbox' + @echo '' @echo 'Other generic targets:' @echo ' all - Build all necessary images depending on configuration' @echo ' tests - Build U-Boot for sandbox and run tests' @@ -1736,7 +1740,7 @@ help: @echo 'Execute "make" or "make all" to build all targets marked with [*] ' @echo 'For further info see the ./README file' -tests: +tests check: $(srctree)/test/run # Documentation targets |