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 CC ?= gcc | 5 CC ?= gcc |
6 INCLUDES += -I./include \ | 6 INCLUDES += -I./include \ |
7 » » -I../cryptolib/include \ | 7 » » -I$(FWDIR)/lib/cryptolib/include \ |
8 -I../common/include \ | 8 -I../common/include \ |
9 -I../misclibs/include | 9 -I../misclibs/include |
10 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror | 10 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror |
11 KERNEL_OUT = kernel_image_fw.o kernel_image.o | 11 KERNEL_OUT = kernel_image.o |
12 | 12 |
13 all: $(KERNEL_OUT) | 13 all: $(KERNEL_OUT) |
14 | 14 |
15 .c.o: | 15 .c.o: |
16 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ | 16 $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ |
17 | 17 |
18 clean: | 18 clean: |
19 rm -f $(KERNEL_OUT) | 19 rm -f $(KERNEL_OUT) |
OLD | NEW |