summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/cpu/Makefile
blob: c5f5426b05f2041e5d15e14ae45ffb244d0b56f5 (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: CFLAGS := $(filter-out -nostdinc,\
	$(patsubst -I%,-idirafter%,$(CFLAGS)))
$(obj)/.depend.os: CPPFLAGS := $(filter-out -nostdinc,\
	$(patsubst -I%,-idirafter%,$(CPPFLAGS)))
OpenPOWER on IntegriCloud