Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: firmware/Makefile

Issue 4266002: Fix integration bugs (vboot side) (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Rename tpm_lite.h to tlcl_stub.h Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cgpt/Makefile ('k') | firmware/include/tlcl_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: firmware/Makefile
diff --git a/firmware/Makefile b/firmware/Makefile
index 99f33f216aa6129f98a0c8f1e1c300e41296f233..ea1f183bc02070af69cd9e5789d4dd824edebf0d 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -40,17 +40,21 @@ LIB_SRCS = \
./lib/vboot_firmware.c \
./lib/vboot_kernel.c
+LIB_OBJS = $(LIB_SRCS:%.c=${BUILD_ROOT}/%.o)
+
STUB_SRCS = \
./stub/boot_device_stub.c \
./stub/load_firmware_stub.c \
./stub/tpm_lite_stub.c \
./stub/utility_stub.c
+STUB_OBJS = $(STUB_SRCS:%.c=${BUILD_ROOT}/%.o)
+
ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS} version.c
-test : $(FWLIB) update-version
+test : $(STUB_OBJS) $(FWLIB) update-version
$(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \
- $(TESTDIR)/main.c $(LIBS)
+ $(TESTDIR)/main.c $(STUB_OBJS) $(LIBS)
# This is executed at every make, to see if anything has changed
update-version :
@@ -65,6 +69,6 @@ update-version :
include ../common.mk
-$(FWLIB) : $(ALL_OBJS)
+$(FWLIB) : $(LIB_OBJS)
rm -f $@
ar qc $@ $^
« no previous file with comments | « cgpt/Makefile ('k') | firmware/include/tlcl_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698