summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/Makefile
blob: 58c2537762774f7f019a6e27be4de5e0356bfe93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Copyright (c) 2011 The Chromium OS Authors.
#
# (C) Copyright 2000-2003
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#

obj-y	:= cpu.o os.o start.o state.o

# os.c is build in the system environment, so needs standard includes
$(obj)os.o: ALL_CFLAGS := $(BASE_CPPFLAGS) \
	$(patsubst %, -idirafter %, $(BASE_INCLUDE_DIRS))
$(obj).depend.os: CPPFLAGS := $(BASE_CPPFLAGS) \
	$(patsubst %, -idirafter %, $(BASE_INCLUDE_DIRS))