| 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../misclibs/include | 9 -I../misclibs/include |
| 11 CFLAGS ?= -Wall -DNDEBUG -O3 -Werror | |
| 12 FIRMWARE_OUT = firmware_image.o | |
| 13 | 10 |
| 14 all: $(FIRMWARE_OUT) | 11 BUILD_ROOT := ${BUILD}/vfirmware |
| 15 | 12 |
| 16 .c.o: | 13 ALL_SRCS = firmware_image.c |
| 17 » $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ | |
| 18 | 14 |
| 19 clean: | 15 include ../common.mk |
| 20 » rm -f $(FIRMWARE_OUT) | 16 |
| 17 all: $(ALL_OBJS) |
| 18 |
| OLD | NEW |