mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-26 01:37:24 +00:00
We want the BIOS to implement the stub functions, but that shouldn't include our StatefulMem* functions. Also, we ensure that we don't accidently use native linux functions instead of the stub functions. Review URL: http://codereview.chromium.org/2255006
21 lines
480 B
Makefile
21 lines
480 B
Makefile
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
CC ?= gcc
|
|
INCLUDES += -I./include \
|
|
-I$(FWDIR)/lib/include \
|
|
-I$(FWDIR)/lib/cryptolib/include \
|
|
-I../common/include \
|
|
-I../misclibs/include
|
|
CFLAGS ?= -Wall -DNDEBUG -O3 -Werror
|
|
KERNEL_OUT = kernel_image.o
|
|
|
|
all: $(KERNEL_OUT)
|
|
|
|
.c.o:
|
|
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
|
|
|
clean:
|
|
rm -f $(KERNEL_OUT)
|