Simon Glass | 4b0730d | 2011-09-26 14:10:39 +0000 | [diff] [blame] | 1 | # |
| 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 Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 4b0730d | 2011-09-26 14:10:39 +0000 | [diff] [blame] | 8 | # |
| 9 | |
Masahiro Yamada | 7cf4082 | 2013-10-17 17:35:03 +0900 | [diff] [blame] | 10 | obj-y := cpu.o os.o start.o state.o |
Simon Glass | 4b0730d | 2011-09-26 14:10:39 +0000 | [diff] [blame] | 11 | |
Andreas Bießmann | f8d2c65 | 2011-12-02 11:53:13 +0100 | [diff] [blame] | 12 | # os.c is build in the system environment, so needs standard includes |
Simon Glass | cbe5cdf | 2013-11-10 10:26:48 -0700 | [diff] [blame] | 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)) |