summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-10-01 21:12:36 -0600
committerSimon Glass <sjg@chromium.org>2018-10-08 07:34:34 -0600
commita3a3f5d5319dc4f25c012edc5446096c14ee1a9a (patch)
treeba2bd165e9763b6863cc6a48718befc378aabd37 /Makefile
parentda753e35cbd9a7fdad2e9be13a9642fb1d9af968 (diff)
downloadu-boot-a3a3f5d5319dc4f25c012edc5446096c14ee1a9a.tar.gz
u-boot-a3a3f5d5319dc4f25c012edc5446096c14ee1a9a.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1d7d5f2a17..3f2d494c4f 100644
--- a/Makefile
+++ b/Makefile
@@ -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