| 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 14 matching lines...) Expand all Loading... |
| 25 ./lib/cgptlib/cgptlib_internal.c \ | 25 ./lib/cgptlib/cgptlib_internal.c \ |
| 26 ./lib/cgptlib/crc32.c \ | 26 ./lib/cgptlib/crc32.c \ |
| 27 ./lib/cryptolib/padding.c \ | 27 ./lib/cryptolib/padding.c \ |
| 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_kernel_fw.c \ | 36 ./lib/load_kernel_fw.c \ |
| 36 ./lib/rollback_index.c \ | 37 ./lib/rollback_index.c \ |
| 37 ./lib/stateful_util.c | 38 ./lib/stateful_util.c |
| 38 | 39 |
| 39 LIB_OBJS = $(LIB_SRCS:%.c=%.o) | 40 LIB_OBJS = $(LIB_SRCS:%.c=%.o) |
| 40 | 41 |
| 41 # find ./stub -iname '*.c' | sort | 42 # find ./stub -iname '*.c' | sort |
| 42 STUB_SRCS = \ | 43 STUB_SRCS = \ |
| 43 ./stub/boot_device_stub.c \ | 44 ./stub/boot_device_stub.c \ |
| 44 ./stub/tlcl.c \ | 45 ./stub/tlcl.c \ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 57 %o : %c | 58 %o : %c |
| 58 $(CC) $(CFLAGS) $(INC) -c -o $@ $< | 59 $(CC) $(CFLAGS) $(INC) -c -o $@ $< |
| 59 | 60 |
| 60 clean: FORCE | 61 clean: FORCE |
| 61 rm -f $(LIBNAME) $(LIB_OBJS) $(STUB_OBJS) $(TESTDIR)/a.out | 62 rm -f $(LIBNAME) $(LIB_OBJS) $(STUB_OBJS) $(TESTDIR)/a.out |
| 62 | 63 |
| 63 FORCE: | 64 FORCE: |
| 64 | 65 |
| 65 | 66 |
| 66 .PHONY: FORCE | 67 .PHONY: FORCE |
| OLD | NEW |