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

Unified Diff: src/platform/vboot_reference/tests/Makefile

Issue 2219004: Rearrange vboot_reference directories to isolate external components. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months 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 | « src/platform/vboot_reference/misclibs/Makefile ('k') | src/platform/vboot_reference/utility/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/tests/Makefile
diff --git a/src/platform/vboot_reference/tests/Makefile b/src/platform/vboot_reference/tests/Makefile
index 80a7c6a7d85ccd96f94523c5a24f40ef4c4f4c75..3b26005c86413745dda9a5dda103790b7027d318 100644
--- a/src/platform/vboot_reference/tests/Makefile
+++ b/src/platform/vboot_reference/tests/Makefile
@@ -6,18 +6,14 @@ TOP ?= ../
CC ?= gcc
CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
INCLUDES += -I./include \
- -I../cryptolib/include \
- -I../common/include \
+ -I$(FWDIR)/lib/cryptolib/include \
-I../misclibs/include \
-I../vfirmware/include\
-I../vkernel/include
-BASE_LIBS = $(TOP)/cryptolib/libcrypto.a $(TOP)/common/libcommon.a
IMAGE_LIBS = $(TOP)/vfirmware/firmware_image.o \
- $(TOP)/vfirmware/firmware_image_fw.o \
- $(TOP)/vkernel/kernel_image.o \
- $(TOP)/vkernel/kernel_image_fw.o
+ $(TOP)/vkernel/kernel_image.o
UTIL_LIBS = $(TOP)/misclibs/file_keys.o $(TOP)/misclibs/signature_digest.o
-LIBS = $(IMAGE_LIBS) $(UTIL_LIBS) -lcrypto $(BASE_LIBS)
+LIBS = $(IMAGE_LIBS) $(UTIL_LIBS) $(FWLIB) -lcrypto
TEST_BINS = big_firmware_tests \
big_kernel_tests \
@@ -75,18 +71,18 @@ kernel_verify_benchmark: kernel_verify_benchmark.c timer_utils.c \
$(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ -lrt $(LIBS)
rsa_padding_test: rsa_padding_test.c
- $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(UTIL_LIBS) $(BASE_LIBS) \
+ $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(UTIL_LIBS) $(FWLIB) \
-lcrypto
rsa_verify_benchmark: rsa_verify_benchmark.c timer_utils.c
- $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ -lrt $(UTIL_LIBS) $(BASE_LIBS) \
+ $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ -lrt $(UTIL_LIBS) $(FWLIB) \
-lcrypto
sha_benchmark: sha_benchmark.c timer_utils.c
- $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ -lrt $(BASE_LIBS)
+ $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ -lrt $(FWLIB)
sha_tests: sha_tests.c
- $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(BASE_LIBS)
+ $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(FWLIB)
verify_firmware_fuzz_driver: verify_firmware_fuzz_driver.c \
rollback_index_mock.c
« no previous file with comments | « src/platform/vboot_reference/misclibs/Makefile ('k') | src/platform/vboot_reference/utility/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698