From 77fe675d7566d9999a4de3485e20b52e4628e972 Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Thu, 15 Feb 2018 18:38:19 -0800 Subject: gsctool: allow multiple source files With the upcoming extensions it would be beneficial to be able to keep gsctool functionality spread among multiple source files. The current Makefile is also not generating proper dependencies, which was fine when gsctool utility was first introduced, but is not adequate any more, and would be even more noticeable when more source files are added. In preparation let's just convert the build scheme into separately compiling .c files, generating .d files while at it, and then linking the .o files together in a separate link operation. BRANCH=none BUG=chromium:812880 TEST=verified that gsctool still builds fine and allows to update Cr50 image. Change-Id: I537bbe6bf76ac71e8d30040b276b78513d390bbf Signed-off-by: Vadim Bendebury Reviewed-on: https://chromium-review.googlesource.com/923418 Reviewed-by: Randall Spangler --- extra/usb_updater/.gitignore | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extra/usb_updater/.gitignore') diff --git a/extra/usb_updater/.gitignore b/extra/usb_updater/.gitignore index e356628d7d..870b0817e5 100644 --- a/extra/usb_updater/.gitignore +++ b/extra/usb_updater/.gitignore @@ -1,2 +1,4 @@ gsctool usb_updater2 +*.d +*.o -- cgit v1.2.1