2 # Copyright (c) 2011 The Chromium OS Authors.
4 # (C) Copyright 2000-2003
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
7 # SPDX-License-Identifier: GPL-2.0+
10 obj-y := cpu.o os.o start.o state.o
12 # os.c is build in the system environment, so needs standard includes
13 $(obj)os.o: ALL_CFLAGS := $(BASE_CPPFLAGS) \
14 $(patsubst %, -idirafter %, $(BASE_INCLUDE_DIRS))
15 $(obj).depend.os: CPPFLAGS := $(BASE_CPPFLAGS) \
16 $(patsubst %, -idirafter %, $(BASE_INCLUDE_DIRS))