OLD | NEW |
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 22 matching lines...) Expand all Loading... |
33 ./lib/cgptlib/cgptlib.c \ | 33 ./lib/cgptlib/cgptlib.c \ |
34 ./lib/cgptlib/cgptlib_internal.c \ | 34 ./lib/cgptlib/cgptlib_internal.c \ |
35 ./lib/cgptlib/crc32.c \ | 35 ./lib/cgptlib/crc32.c \ |
36 ./lib/cryptolib/padding.c \ | 36 ./lib/cryptolib/padding.c \ |
37 ./lib/cryptolib/rsa.c \ | 37 ./lib/cryptolib/rsa.c \ |
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/tpm_bootmode.c \ |
43 ./lib/stateful_util.c \ | 44 ./lib/stateful_util.c \ |
44 ./lib/tpm_lite/tlcl.c \ | 45 ./lib/tpm_lite/tlcl.c \ |
45 ./lib/utility.c \ | 46 ./lib/utility.c \ |
46 ./lib/vboot_common.c \ | 47 ./lib/vboot_common.c \ |
47 ./lib/vboot_firmware.c \ | 48 ./lib/vboot_firmware.c \ |
48 ./lib/vboot_kernel.c \ | 49 ./lib/vboot_kernel.c \ |
49 ./lib/vboot_nvstorage.c | 50 ./lib/vboot_nvstorage.c |
50 | 51 |
51 LIB_OBJS = $(LIB_SRCS:%.c=${BUILD_ROOT}/%.o) | 52 LIB_OBJS = $(LIB_SRCS:%.c=${BUILD_ROOT}/%.o) |
52 | 53 |
(...skipping 13 matching lines...) Expand all Loading... |
66 $(TESTDIR)/main.c $(STUB_OBJS) $(LIBS) | 67 $(TESTDIR)/main.c $(STUB_OBJS) $(LIBS) |
67 else | 68 else |
68 test : $(FWLIB) | 69 test : $(FWLIB) |
69 endif | 70 endif |
70 | 71 |
71 include ../common.mk | 72 include ../common.mk |
72 | 73 |
73 $(FWLIB) : $(LIB_OBJS) | 74 $(FWLIB) : $(LIB_OBJS) |
74 rm -f $@ | 75 rm -f $@ |
75 ar qc $@ $^ | 76 ar qc $@ $^ |
OLD | NEW |