diff --git a/.gitmodules b/.gitmodules index cf32923a47..7d40675cc8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -6,3 +6,6 @@ [submodule "util/nvidia-cbootimage"] path = util/nvidia/cbootimage url = ../nvidia-cbootimage.git +[submodule "vboot"] + path = 3rdparty/vboot + url = ../vboot.git diff --git a/3rdparty/vboot b/3rdparty/vboot new file mode 160000 index 0000000000..7dd3bd0fcf --- /dev/null +++ b/3rdparty/vboot @@ -0,0 +1 @@ +Subproject commit 7dd3bd0fcf565901aacc512cd29cefe19291c2e7 diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc index 33cdb26674..7c41ec8019 100644 --- a/src/vendorcode/google/chromeos/Makefile.inc +++ b/src/vendorcode/google/chromeos/Makefile.inc @@ -53,6 +53,6 @@ else CFLAGS_common += -DMOCK_TPM=0 endif -VB_SOURCE := vboot_reference +VB_SOURCE := 3rdparty/vboot subdirs-$(CONFIG_VBOOT_VERIFY_FIRMWARE) += vboot2 CPPFLAGS_common += -I$(VB_SOURCE)/firmware/include