2011-09-26 14:10:39 +00:00
|
|
|
#
|
|
|
|
# Copyright (c) 2011 The Chromium OS Authors.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-09-26 14:10:39 +00:00
|
|
|
#
|
|
|
|
|
2013-10-17 08:35:03 +00:00
|
|
|
obj-y := cpu.o os.o start.o state.o
|
2011-09-26 14:10:39 +00:00
|
|
|
|
2011-12-02 10:53:13 +00:00
|
|
|
# os.c is build in the system environment, so needs standard includes
|
2014-02-04 08:24:24 +00:00
|
|
|
$(obj)/os.o: CFLAGS := $(filter-out -nostdinc,\
|
2013-11-26 07:13:59 +00:00
|
|
|
$(patsubst -I%,-idirafter%,$(CFLAGS)))
|
2014-02-04 08:24:24 +00:00
|
|
|
$(obj)/.depend.os: CPPFLAGS := $(filter-out -nostdinc,\
|
2013-11-26 07:13:59 +00:00
|
|
|
$(patsubst -I%,-idirafter%,$(CPPFLAGS)))
|