Index: Makefile |
diff --git a/Makefile b/Makefile |
index 11eddb78fb8a7ba3054fa4b13239e5fbd819286d..f95b1cd596309441de92a48ca94dc2b5214ab44e 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -268,6 +268,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. |