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 TOP ?= ../ |
5 CC ?= gcc | 6 CC ?= gcc |
6 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror | 7 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror |
7 INCLUDES += -I./include \ | 8 INCLUDES += -I./include \ |
8 -I../cryptolib/include \ | 9 -I../cryptolib/include \ |
9 -I../common/include \ | 10 -I../common/include \ |
10 -I../misclibs/include \ | 11 -I../misclibs/include \ |
11 -I../vfirmware/include\ | 12 -I../vfirmware/include\ |
12 -I../vkernel/include | 13 -I../vkernel/include |
13 BASE_LIBS = $(TOP)/cryptolib/libcrypto.a $(TOP)/common/libcommon.a | 14 BASE_LIBS = $(TOP)/cryptolib/libcrypto.a $(TOP)/common/libcommon.a |
14 IMAGE_LIBS = $(TOP)/vfirmware/firmware_image.o \ | 15 IMAGE_LIBS = $(TOP)/vfirmware/firmware_image.o \ |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 90 |
90 verify_firmware_fuzz_driver: verify_firmware_fuzz_driver.c \ | 91 verify_firmware_fuzz_driver: verify_firmware_fuzz_driver.c \ |
91 rollback_index_mock.c | 92 rollback_index_mock.c |
92 $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(LIBS) | 93 $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(LIBS) |
93 | 94 |
94 verify_kernel_fuzz_driver: verify_kernel_fuzz_driver.c rollback_index_mock.c | 95 verify_kernel_fuzz_driver: verify_kernel_fuzz_driver.c rollback_index_mock.c |
95 $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(LIBS) | 96 $(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(LIBS) |
96 | 97 |
97 clean: | 98 clean: |
98 rm -f $(TEST_BINS) | 99 rm -f $(TEST_BINS) |
OLD | NEW |