diff options
author | Jett Rink <jettrink@chromium.org> | 2020-09-22 15:03:04 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-01 01:14:51 +0000 |
commit | 2d339f222962c312eddc27aecd09e56964fff95c (patch) | |
tree | da2a09c9a3635ea595859174c61f1cedc8bcd903 /Makefile.rules | |
parent | c5ec264d26024e0d63550d5aaaa645495fcc5744 (diff) | |
download | chrome-ec-2d339f222962c312eddc27aecd09e56964fff95c.tar.gz |
build: add firmware_builder.py entry point
New ToT firmware builder will call firmware_builder.py to start the build
process for FW. For EC, we need to call into out existing build system.
To break up the build and test phases, we need to break out all of the
build only steps out into a separate build target (buildall_only).
BRANCH=none
BUG=b:169178847
TEST=run `firmware_builder.py build` locally and see that it builds all
EC images and also redirects stdout and stderror from sub command.
TEST=chromite/api/contrib/call_scripts/firmware__build_all_tot_firmware
run this script correctly. End-to-End tests.
Signed-off-by: Jett Rink <jettrink@chromium.org>
Change-Id: Idd039e686697ee88419e0e44aa3dc96d554b997d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2424895
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 209307047b..e8c9ebec62 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -198,10 +198,13 @@ build_boards: | $(FAILED_BOARDS_DIR) @rm -f $(FAILED_BOARDS_DIR)/* $(MAKE) try_build_boards -.PHONY: buildall -buildall: build_boards build_cros_ec_commands +.PHONY: buildall_only +buildall_only: build_boards build_cros_ec_commands $(MAKE) build_cts $(MAKE) buildfuzztests + +.PHONY: buildall +buildall: buildall_only $(MAKE) runtests @touch .tests-passed @echo "$@ completed successfully!" |