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

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

Issue 564020: Data structure and interface for manipulating and handing firmware images for verified boot. (Closed)
Patch Set: Fix spaces etc. 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 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
6 CFLAGS=-Wall -ggdb
7 INCLUDES ?= -I../include/
8 TOP ?= ../
9
10
5 LIBS=-lcrypto 11 LIBS=-lcrypto
6 FIRMWARELIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a 12 FIRMWARELIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a
7 13
8 all:» dumpRSAPublicKey verify_data signature_digest 14 all:» dumpRSAPublicKey verify_data signature_digest firmware_utility
9 15
10 dumpRSAPublicKey: dumpRSAPublicKey.c 16 dumpRSAPublicKey: dumpRSAPublicKey.c
11 $(CC) $(CFLAGS) $(LIBS) $< -o $@ 17 $(CC) $(CFLAGS) $(LIBS) $< -o $@
12 18
13 verify_data:» verify_data.c 19 verify_data:» verify_data.c file_keys.o
14 » $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS) 20 » $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ file_keys.o $(FIRMWARELIBS )
15 21
16 signature_digest: signature_digest.c 22 signature_digest: signature_digest.c
17 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS) 23 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS)
18 24
25 firmware_utility: firmware_utility.c firmware_image.o file_keys.o
26 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ firmware_image.o $(FIRMWA RELIBS)
27
28 file_keys.o: file_keys.c
29 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) -c $< -o $@
30
31 firmware_image.o: firmware_image.c
32 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
19 clean: 33 clean:
20 » rm -f dumpRSAPublicKey verify_data signature_digest 34 » rm -f dumpRSAPublicKey verify_data signature_digest firmware_image.o fil e_keys.o
35
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/tests/run_tests.sh ('k') | src/platform/vboot_reference/utils/file_keys.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698