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

Side by Side Diff: vboot_firmware/Makefile

Issue 2835006: Remove old firmware verification code (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 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
« no previous file with comments | « utility/firmware_utility.cc ('k') | vboot_firmware/lib/firmware_image_fw.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 FWTOP := $(shell pwd) 5 FWTOP := $(shell pwd)
6 LIBDIR = $(FWTOP)/lib 6 LIBDIR = $(FWTOP)/lib
7 STUBDIR = $(FWTOP)/stub 7 STUBDIR = $(FWTOP)/stub
8 TESTDIR = $(FWTOP)/linktest 8 TESTDIR = $(FWTOP)/linktest
9 BUILD_ROOT := ${BUILD}/$(shell basename ${FWTOP}) 9 BUILD_ROOT := ${BUILD}/$(shell basename ${FWTOP})
10 10
11 INCLUDES = \ 11 INCLUDES = \
12 -I$(FWTOP)/include \ 12 -I$(FWTOP)/include \
13 -I$(LIBDIR)/include \ 13 -I$(LIBDIR)/include \
14 -I$(LIBDIR)/cgptlib/include \ 14 -I$(LIBDIR)/cgptlib/include \
15 -I$(LIBDIR)/cryptolib/include 15 -I$(LIBDIR)/cryptolib/include
16 16
17 17
18 # find ./lib -iname '*.c' | sort 18 # find ./lib -iname '*.c' | sort
19 LIB_SRCS = \ 19 LIB_SRCS = \
20 ./lib/cgptlib/cgptlib.c \ 20 ./lib/cgptlib/cgptlib.c \
21 ./lib/cgptlib/cgptlib_internal.c \ 21 ./lib/cgptlib/cgptlib_internal.c \
22 ./lib/cgptlib/crc32.c \ 22 ./lib/cgptlib/crc32.c \
23 ./lib/cryptolib/padding.c \ 23 ./lib/cryptolib/padding.c \
24 ./lib/cryptolib/rsa.c \ 24 ./lib/cryptolib/rsa.c \
25 ./lib/cryptolib/rsa_utility.c \ 25 ./lib/cryptolib/rsa_utility.c \
26 ./lib/cryptolib/sha1.c \ 26 ./lib/cryptolib/sha1.c \
27 ./lib/cryptolib/sha2.c \ 27 ./lib/cryptolib/sha2.c \
28 ./lib/cryptolib/sha_utility.c \ 28 ./lib/cryptolib/sha_utility.c \
29 ./lib/firmware_image_fw.c \
30 ./lib/kernel_image_fw.c \ 29 ./lib/kernel_image_fw.c \
31 ./lib/load_firmware_fw.c \
32 ./lib/load_kernel_fw.c \ 30 ./lib/load_kernel_fw.c \
33 ./lib/rollback_index.c \ 31 ./lib/rollback_index.c \
34 ./lib/stateful_util.c \ 32 ./lib/stateful_util.c \
35 ./lib/vboot_common.c \ 33 ./lib/vboot_common.c \
36 ./lib/vboot_firmware.c \ 34 ./lib/vboot_firmware.c \
37 ./lib/vboot_kernel.c 35 ./lib/vboot_kernel.c
38 36
39 STUB_SRCS = \ 37 STUB_SRCS = \
40 ./stub/boot_device_stub.c \ 38 ./stub/boot_device_stub.c \
41 ./stub/load_firmware_stub.c \ 39 ./stub/load_firmware_stub.c \
42 ./stub/tlcl.c \ 40 ./stub/tlcl.c \
43 ./stub/utility_stub.c 41 ./stub/utility_stub.c
44 42
45 ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS} 43 ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS}
46 44
47 test : $(FWLIB) 45 test : $(FWLIB)
48 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \ 46 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \
49 $(TESTDIR)/main.c $(FWLIB) 47 $(TESTDIR)/main.c $(FWLIB)
50 48
51 include ../common.mk 49 include ../common.mk
52 50
53 $(FWLIB) : $(ALL_OBJS) 51 $(FWLIB) : $(ALL_OBJS)
54 rm -f $@ 52 rm -f $@
55 ar qc $@ $^ 53 ar qc $@ $^
OLDNEW
« no previous file with comments | « utility/firmware_utility.cc ('k') | vboot_firmware/lib/firmware_image_fw.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698