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

Side by Side Diff: src/platform/vboot_reference/utils/Makefile

Issue 660161: Vboot Reference: Add functions to verify signed kernel images. (Closed)
Patch Set: Fix comment. Created 10 years, 9 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 CC ?= gcc 5 CC ?= gcc
6 CXX ?= g++ 6 CXX ?= g++
7 CFLAGS = -Wall -DNDEBUG 7 CFLAGS = -Wall -DNDEBUG
8 INCLUDES ?= -I../include/ 8 INCLUDES ?= -I../include/
9 TOP ?= ../ 9 TOP ?= ../
10 10
11 LIBS = -lcrypto 11 LIBS = -lcrypto
12 FIRMWARELIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a 12 FIRMWARELIBS = $(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
13 13
14 all: dumpRSAPublicKey verify_data signature_digest firmware_utility \ 14 all: dumpRSAPublicKey verify_data signature_digest firmware_utility \
15 » file_keys.o firmware_image.o 15 » file_keys.o firmware_image.o kernel_image.o
16 16
17 dumpRSAPublicKey: dumpRSAPublicKey.c 17 dumpRSAPublicKey: dumpRSAPublicKey.c
18 $(CC) $(CFLAGS) $(LIBS) $< -o $@ 18 $(CC) $(CFLAGS) $(LIBS) $< -o $@
19 19
20 verify_data: verify_data.c file_keys.c 20 verify_data: verify_data.c file_keys.c
21 $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(FIRMWARELIBS) 21 $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(FIRMWARELIBS)
22 22
23 signature_digest: signature_digest.c 23 signature_digest: signature_digest.c
24 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(FIRMWARELIBS) 24 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(FIRMWARELIBS)
25 25
26 firmware_utility: firmware_utility.cc firmware_image.o file_keys.o 26 firmware_utility: firmware_utility.cc firmware_image.o file_keys.o
27 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb $^ -o $@ $(FIRMWARELIBS) 27 $(CXX) $(CFLAGS) $(INCLUDES) -ggdb $^ -o $@ $(FIRMWARELIBS)
28 28
29 # Used by tests. 29 # Used by tests.
30 file_keys.o: file_keys.c 30 file_keys.o: file_keys.c
31 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ 31 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
32 32
33 firmware_image.o: firmware_image.c 33 firmware_image.o: firmware_image.c
34 $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@ 34 $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
35 35
36 kernel_image.o: kernel_image.c
37 $(CC) $(CFLAGS) -ansi $(INCLUDES) -c $< -o $@
36 clean: 38 clean:
37 rm -f dumpRSAPublicKey verify_data signature_digest firmware_image.o \ 39 rm -f dumpRSAPublicKey verify_data signature_digest firmware_image.o \
38 » file_keys.o firmware_utility 40 » kernel_image.o file_keys.o firmware_utility
39 41
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/tests/run_rsa_tests.sh ('k') | src/platform/vboot_reference/utils/kernel_image.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698