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