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