summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e4ac086537..cf340bfb38 100644
--- a/Makefile
+++ b/Makefile
@@ -310,10 +310,6 @@ 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.
@@ -326,6 +322,10 @@ LDPPFLAGS += \
__OBJS := $(subst $(obj),,$(OBJS))
__LIBS := $(subst $(obj),,$(LIBS)) $(subst $(obj),,$(LIBBOARD))
+# Add vboot_reference lib
+ifdef VBOOT
+__LIBS += $(VBOOT)/lib/vboot_fw.a
+endif
#########################################################################
#########################################################################