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

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

Issue 660161: Vboot Reference: Add functions to verify signed kernel images. (Closed)
Patch Set: Fix comment. Created 10 years, 10 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
Index: src/platform/vboot_reference/tests/Makefile
diff --git a/src/platform/vboot_reference/tests/Makefile b/src/platform/vboot_reference/tests/Makefile
index 92e91a4d5a5232c67ebbaf03b7fea17365348831..57fecd7bf1357342bad620e7c344e95d0971ad21 100644
--- a/src/platform/vboot_reference/tests/Makefile
+++ b/src/platform/vboot_reference/tests/Makefile
@@ -7,16 +7,20 @@ CFLAGS = -Wall -DNDEBUG
INCLUDES ?= -I../include/
TOP ?= ../
-LIBS = $(TOP)/utils/firmware_image.o $(TOP)/crypto/libcrypto.a \
- $(TOP)/common/libcommon.a $(TOP)/utils/file_keys.o -lrt
+LIBS = $(TOP)/utils/kernel_image.o $(TOP)/utils/firmware_image.o \
+ $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a \
+ $(TOP)/utils/file_keys.o -lrt
-tests: firmware_image_tests sha_tests sha_benchmark rsa_verify_benchmark \
- rsa_padding_test
+tests: firmware_image_tests kernel_image_tests sha_tests sha_benchmark \
+ rsa_verify_benchmark rsa_padding_test
sha_tests: sha_tests.c
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS)
-firmware_image_tests: firmware_image_tests.c
+firmware_image_tests: firmware_image_tests.c $(LIBS)
+ $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS)
+
+kernel_image_tests: kernel_image_tests.c $(LIBS)
$(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS)
sha_benchmark: sha_benchmark.c timer_utils.c
@@ -30,4 +34,4 @@ rsa_verify_benchmark: rsa_verify_benchmark.c timer_utils.c
clean:
rm -f sha_tests sha_benchmark rsa_verify_benchmark \
- firmware_image_tests rsa_padding_test
+ firmware_image_tests kernel_image_tests rsa_padding_test
« no previous file with comments | « src/platform/vboot_reference/include/kernel_image.h ('k') | src/platform/vboot_reference/tests/firmware_image_tests.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698