summaryrefslogtreecommitdiff
path: root/util/cbfstool/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-05-29 16:12:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-06-01 10:24:01 +0000
commit67d958b64078216546e32d12ff8cae422e14c622 (patch)
tree0c60b169d6a9fc7631993354b2e18346e5d8b7a7 /util/cbfstool/Makefile
parente235f9a56be94c621019b54d7748969c5d66ba79 (diff)
util/cbfstool/Makefile: Check out vboot before trying to use it
Change-Id: Ie2044d73b97663f7816964c4d908a46570aafdbc Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55072 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'util/cbfstool/Makefile')
-rw-r--r--util/cbfstool/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/cbfstool/Makefile b/util/cbfstool/Makefile
index 7ef46a7224..7d7befef95 100644
--- a/util/cbfstool/Makefile
+++ b/util/cbfstool/Makefile
@@ -75,3 +75,8 @@ ifneq ($(V),1)
endif
include Makefile.inc
+
+$(objutil)/cbfstool/cbfstool.o: $(VBOOT_SOURCE)/firmware/include/vb2_sha.h
+
+$(VBOOT_SOURCE)/firmware/include/vb2_sha.h:
+ cd $(VBOOT_SOURCE) && git submodule update --init .