summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2010-10-07 10:08:43 +0800
committerSimon Glass <sjg@chromium.org>2011-08-24 09:56:47 -0700
commit728f95f4413186cf0bbafefb45bb495da32d289a (patch)
tree617389ee3dcde1033fc76e27b2dac2207f4b932e /Makefile
parent5f3675c2e65697963142382de9f22d9a28f7584c (diff)
Add VBOOT to top-level Makefile
This CL adds argument "VBOOT" to top-level Makefile and config.mk that points to a verify boot implementation. Change-Id: Ib468cc7a6a7c3ce3db56b90d73c6022ac30fa046 BUG=none TEST=Run "make all" successfully Review URL: http://codereview.chromium.org/3515011
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3454db62d7..e07906074e 100644
--- a/Makefile
+++ b/Makefile
@@ -309,6 +309,10 @@ else
PLATFORM_LIBGCC = -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
endif
PLATFORM_LIBS += $(PLATFORM_LIBGCC)
+# Add vboot_reference lib
+ifdef VBOOT
+PLATFORM_LIBS += $(VBOOT)/lib/vboot_fw.a
+endif
export PLATFORM_LIBS
# Special flags for CPP when processing the linker script.