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 09:37:19 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-09-26 14:10:39 +00:00
|
|
|
#
|
|
|
|
|
2013-10-17 17:35:03 +09:00
|
|
|
obj-y := cpu.o os.o start.o state.o
|
2011-09-26 14:10:39 +00:00
|
|
|
|
2011-12-02 11:53:13 +01:00
|
|
|
# os.c is build in the system environment, so needs standard includes
|
2014-02-04 17:24:24 +09:00
|
|
|
$(obj)/os.o: CFLAGS := $(filter-out -nostdinc,\
|
2013-11-26 16:13:59 +09:00
|
|
|
$(patsubst -I%,-idirafter%,$(CFLAGS)))
|
2014-02-04 17:24:24 +09:00
|
|
|
$(obj)/.depend.os: CPPFLAGS := $(filter-out -nostdinc,\
|
2013-11-26 16:13:59 +09:00
|
|
|
$(patsubst -I%,-idirafter%,$(CPPFLAGS)))
|