diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | config.mk | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -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. @@ -172,6 +172,10 @@ ifneq ($(OBJTREE),$(SRCTREE)) CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include endif +ifdef VBOOT +CPPFLAGS += -I$(VBOOT)/include/vboot +endif + CPPFLAGS += -I$(TOPDIR)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) |