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

Side by Side Diff: firmware/Makefile

Issue 6532040: Add NV storage API to vboot reference (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | firmware/include/vboot_nvstorage.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 LIBS = $(FWLIB) # Firmware library must be self-contained 10 LIBS = $(FWLIB) # Firmware library must be self-contained
(...skipping 27 matching lines...) Expand all
38 ./lib/cryptolib/rsa_utility.c \ 38 ./lib/cryptolib/rsa_utility.c \
39 ./lib/cryptolib/sha1.c \ 39 ./lib/cryptolib/sha1.c \
40 ./lib/cryptolib/sha2.c \ 40 ./lib/cryptolib/sha2.c \
41 ./lib/cryptolib/sha_utility.c \ 41 ./lib/cryptolib/sha_utility.c \
42 ./lib/rollback_index.c \ 42 ./lib/rollback_index.c \
43 ./lib/stateful_util.c \ 43 ./lib/stateful_util.c \
44 ./lib/tpm_lite/tlcl.c \ 44 ./lib/tpm_lite/tlcl.c \
45 ./lib/utility.c \ 45 ./lib/utility.c \
46 ./lib/vboot_common.c \ 46 ./lib/vboot_common.c \
47 ./lib/vboot_firmware.c \ 47 ./lib/vboot_firmware.c \
48 » ./lib/vboot_kernel.c 48 » ./lib/vboot_kernel.c \
49 » ./lib/vboot_nvstorage.c
49 50
50 LIB_OBJS = $(LIB_SRCS:%.c=${BUILD_ROOT}/%.o) 51 LIB_OBJS = $(LIB_SRCS:%.c=${BUILD_ROOT}/%.o)
51 52
52 STUB_SRCS = \ 53 STUB_SRCS = \
53 ./stub/boot_device_stub.c \ 54 ./stub/boot_device_stub.c \
54 ./stub/load_firmware_stub.c \ 55 ./stub/load_firmware_stub.c \
55 ./stub/tpm_lite_stub.c \ 56 ./stub/tpm_lite_stub.c \
56 ./stub/utility_stub.c 57 ./stub/utility_stub.c
57 58
58 STUB_OBJS = $(STUB_SRCS:%.c=${BUILD_ROOT}/%.o) 59 STUB_OBJS = $(STUB_SRCS:%.c=${BUILD_ROOT}/%.o)
59 60
60 ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS} 61 ALL_SRCS = ${LIB_SRCS} ${STUB_SRCS}
61 62
62 ifeq ($(FIRMWARE_ARCH),) 63 ifeq ($(FIRMWARE_ARCH),)
63 test : $(STUB_OBJS) $(FWLIB) 64 test : $(STUB_OBJS) $(FWLIB)
64 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \ 65 $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_ROOT)/a.out \
65 $(TESTDIR)/main.c $(STUB_OBJS) $(LIBS) 66 $(TESTDIR)/main.c $(STUB_OBJS) $(LIBS)
66 else 67 else
67 test : $(FWLIB) 68 test : $(FWLIB)
68 endif 69 endif
69 70
70 include ../common.mk 71 include ../common.mk
71 72
72 $(FWLIB) : $(LIB_OBJS) 73 $(FWLIB) : $(LIB_OBJS)
73 rm -f $@ 74 rm -f $@
74 ar qc $@ $^ 75 ar qc $@ $^
OLDNEW
« no previous file with comments | « no previous file | firmware/include/vboot_nvstorage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698