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 LIBNAME = vboot_fw.a | 5 LIBNAME = vboot_fw.a |
6 | 6 |
7 CC ?= gcc | 7 CC ?= gcc |
8 CFLAGS = -Wall -DNDEBUG -O3 -Werror | 8 CFLAGS = -Wall -DNDEBUG -O3 -Werror |
9 | 9 |
10 FWTOP := $(shell pwd) | 10 FWTOP := $(shell pwd) |
(...skipping 17 matching lines...) Expand all Loading... |
28 ./lib/cryptolib/rsa.c \ | 28 ./lib/cryptolib/rsa.c \ |
29 ./lib/cryptolib/rsa_utility.c \ | 29 ./lib/cryptolib/rsa_utility.c \ |
30 ./lib/cryptolib/sha1.c \ | 30 ./lib/cryptolib/sha1.c \ |
31 ./lib/cryptolib/sha2.c \ | 31 ./lib/cryptolib/sha2.c \ |
32 ./lib/cryptolib/sha_utility.c \ | 32 ./lib/cryptolib/sha_utility.c \ |
33 ./lib/firmware_image_fw.c \ | 33 ./lib/firmware_image_fw.c \ |
34 ./lib/kernel_image_fw.c \ | 34 ./lib/kernel_image_fw.c \ |
35 ./lib/load_firmware_fw.c \ | 35 ./lib/load_firmware_fw.c \ |
36 ./lib/load_kernel_fw.c \ | 36 ./lib/load_kernel_fw.c \ |
37 ./lib/rollback_index.c \ | 37 ./lib/rollback_index.c \ |
38 » ./lib/stateful_util.c | 38 » ./lib/stateful_util.c \ |
| 39 » ./lib/vboot_common.c \ |
| 40 » ./lib/vboot_firmware.c \ |
| 41 » ./lib/vboot_kernel.c |
39 | 42 |
40 LIB_OBJS = $(LIB_SRCS:%.c=%.o) | 43 LIB_OBJS = $(LIB_SRCS:%.c=%.o) |
41 | 44 |
42 # find ./stub -iname '*.c' | sort | 45 # find ./stub -iname '*.c' | sort |
43 STUB_SRCS = \ | 46 STUB_SRCS = \ |
44 ./stub/boot_device_stub.c \ | 47 ./stub/boot_device_stub.c \ |
45 ./stub/load_firmware_stub.c \ | 48 ./stub/load_firmware_stub.c \ |
46 ./stub/tlcl.c \ | 49 ./stub/tlcl.c \ |
47 ./stub/utility_stub.c | 50 ./stub/utility_stub.c |
48 | 51 |
(...skipping 10 matching lines...) Expand all Loading... |
59 %o : %c | 62 %o : %c |
60 $(CC) $(CFLAGS) $(INC) -c -o $@ $< | 63 $(CC) $(CFLAGS) $(INC) -c -o $@ $< |
61 | 64 |
62 clean: FORCE | 65 clean: FORCE |
63 rm -f $(LIBNAME) $(LIB_OBJS) $(STUB_OBJS) $(TESTDIR)/a.out | 66 rm -f $(LIBNAME) $(LIB_OBJS) $(STUB_OBJS) $(TESTDIR)/a.out |
64 | 67 |
65 FORCE: | 68 FORCE: |
66 | 69 |
67 | 70 |
68 .PHONY: FORCE | 71 .PHONY: FORCE |
OLD | NEW |