blob: 58c2537762774f7f019a6e27be4de5e0356bfe93 [file] [log] [blame]
Simon Glass4b0730d2011-09-26 14:10:39 +00001#
2# Copyright (c) 2011 The Chromium OS Authors.
3#
4# (C) Copyright 2000-2003
5# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6#
Wolfgang Denk1a459662013-07-08 09:37:19 +02007# SPDX-License-Identifier: GPL-2.0+
Simon Glass4b0730d2011-09-26 14:10:39 +00008#
9
Masahiro Yamada7cf40822013-10-17 17:35:03 +090010obj-y := cpu.o os.o start.o state.o
Simon Glass4b0730d2011-09-26 14:10:39 +000011
Andreas Bießmannf8d2c652011-12-02 11:53:13 +010012# os.c is build in the system environment, so needs standard includes
Simon Glasscbe5cdf2013-11-10 10:26:48 -070013$(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))