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 TOP ?= ../ |
6 CC ?= gcc | 6 CC ?= gcc |
7 CXX ?= g++ | 7 CXX ?= g++ |
8 INCLUDES += -I./include \ | 8 INCLUDES += -I./include \ |
| 9 -I$(FWDIR)/lib/cgptlib/include \ |
9 -I$(FWDIR)/lib/cryptolib/include \ | 10 -I$(FWDIR)/lib/cryptolib/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 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) | 14 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror $(INCLUDES) |
14 LIBS = $(TOP)/misclibs/file_keys.o \ | 15 LIBS = $(TOP)/misclibs/file_keys.o \ |
15 $(TOP)/misclibs/signature_digest.o \ | 16 $(TOP)/misclibs/signature_digest.o \ |
16 $(TOP)/vfirmware/firmware_image.o \ | 17 $(TOP)/vfirmware/firmware_image.o \ |
17 $(TOP)/vkernel/kernel_image.o | 18 $(TOP)/vkernel/kernel_image.o |
18 SUBDIRS = cgpt | 19 SUBDIRS = cgpt |
(...skipping 29 matching lines...) Expand all Loading... |
48 | 49 |
49 verify_data: verify_data.c $(LIBS) $(FWLIB) | 50 verify_data: verify_data.c $(LIBS) $(FWLIB) |
50 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto | 51 $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) $(FWLIB) -lcrypto |
51 | 52 |
52 clean: | 53 clean: |
53 set -e; \ | 54 set -e; \ |
54 for i in $(SUBDIRS); do \ | 55 for i in $(SUBDIRS); do \ |
55 $(MAKE) -C $$i clean; \ | 56 $(MAKE) -C $$i clean; \ |
56 done | 57 done |
57 rm -f $(TARGET_BINS) | 58 rm -f $(TARGET_BINS) |
OLD | NEW |