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 17 matching lines...) Expand all Loading... |
28 ./lib/cgptlib/crc32.c \ | 28 ./lib/cgptlib/crc32.c \ |
29 ./lib/cryptolib/padding.c \ | 29 ./lib/cryptolib/padding.c \ |
30 ./lib/cryptolib/rsa.c \ | 30 ./lib/cryptolib/rsa.c \ |
31 ./lib/cryptolib/rsa_utility.c \ | 31 ./lib/cryptolib/rsa_utility.c \ |
32 ./lib/cryptolib/sha1.c \ | 32 ./lib/cryptolib/sha1.c \ |
33 ./lib/cryptolib/sha2.c \ | 33 ./lib/cryptolib/sha2.c \ |
34 ./lib/cryptolib/sha_utility.c \ | 34 ./lib/cryptolib/sha_utility.c \ |
35 ./lib/rollback_index.c \ | 35 ./lib/rollback_index.c \ |
36 ./lib/stateful_util.c \ | 36 ./lib/stateful_util.c \ |
37 ./lib/tpm_lite/tlcl.c \ | 37 ./lib/tpm_lite/tlcl.c \ |
| 38 ./lib/utility.c \ |
38 ./lib/vboot_common.c \ | 39 ./lib/vboot_common.c \ |
39 ./lib/vboot_firmware.c \ | 40 ./lib/vboot_firmware.c \ |
40 ./lib/vboot_kernel.c | 41 ./lib/vboot_kernel.c |
41 | 42 |
42 STUB_SRCS = \ | 43 STUB_SRCS = \ |
43 ./stub/boot_device_stub.c \ | 44 ./stub/boot_device_stub.c \ |
44 ./stub/load_firmware_stub.c \ | 45 ./stub/load_firmware_stub.c \ |
45 ./stub/tpm_lite_stub.c \ | 46 ./stub/tpm_lite_stub.c \ |
46 ./stub/utility_stub.c | 47 ./stub/utility_stub.c |
47 | 48 |
(...skipping 12 matching lines...) Expand all Loading... |
60 ${BUILD_ROOT}/version.tmp && \ | 61 ${BUILD_ROOT}/version.tmp && \ |
61 (cmp -s ${BUILD_ROOT}/version.tmp version.c || \ | 62 (cmp -s ${BUILD_ROOT}/version.tmp version.c || \ |
62 ( echo "** Updating version.c **" && \ | 63 ( echo "** Updating version.c **" && \ |
63 cp ${BUILD_ROOT}/version.tmp version.c)) | 64 cp ${BUILD_ROOT}/version.tmp version.c)) |
64 | 65 |
65 include ../common.mk | 66 include ../common.mk |
66 | 67 |
67 $(FWLIB) : $(ALL_OBJS) | 68 $(FWLIB) : $(ALL_OBJS) |
68 rm -f $@ | 69 rm -f $@ |
69 ar qc $@ $^ | 70 ar qc $@ $^ |
OLD | NEW |