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

Side by Side Diff: vboot_firmware/Makefile

Issue 2866006: Move old vkernel code out of vboot_firmware. (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/load_kernel_test_old.c ('k') | vboot_firmware/include/firmware_image_fw.h » ('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/kernel_image_fw.c \
30 ./lib/load_kernel_fw.c \
31 ./lib/rollback_index.c \ 29 ./lib/rollback_index.c \
32 ./lib/stateful_util.c \ 30 ./lib/stateful_util.c \
33 ./lib/vboot_common.c \ 31 ./lib/vboot_common.c \
34 ./lib/vboot_firmware.c \ 32 ./lib/vboot_firmware.c \
35 ./lib/vboot_kernel.c 33 ./lib/vboot_kernel.c
36 34
37 STUB_SRCS = \ 35 STUB_SRCS = \
38 ./stub/boot_device_stub.c \ 36 ./stub/boot_device_stub.c \
39 ./stub/load_firmware_stub.c \ 37 ./stub/load_firmware_stub.c \
40 ./stub/tlcl.c \ 38 ./stub/tlcl.c \
41 ./stub/utility_stub.c 39 ./stub/utility_stub.c
42 40
43 ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS} 41 ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS}
44 42
45 test : $(FWLIB) 43 test : $(FWLIB)
46 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \ 44 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \
47 $(TESTDIR)/main.c $(FWLIB) 45 $(TESTDIR)/main.c $(FWLIB)
48 46
49 include ../common.mk 47 include ../common.mk
50 48
51 $(FWLIB) : $(ALL_OBJS) 49 $(FWLIB) : $(ALL_OBJS)
52 rm -f $@ 50 rm -f $@
53 ar qc $@ $^ 51 ar qc $@ $^
OLDNEW
« no previous file with comments | « utility/load_kernel_test_old.c ('k') | vboot_firmware/include/firmware_image_fw.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698