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 |