]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/sandbox/cpu/Makefile
b564294a847891eac0d69470b2ab3c5954194433
[people/ms/u-boot.git] / arch / sandbox / cpu / Makefile
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 #
7 # SPDX-License-Identifier: GPL-2.0+
8 #
9
10 obj-y := cpu.o os.o start.o state.o
11
12 # os.c is build in the system environment, so needs standard includes
13 $(obj)os.o: CFLAGS := $(filter-out -nostdinc,\
14 $(patsubst -I%,-idirafter%,$(CFLAGS)))
15 $(obj).depend.os: CPPFLAGS := $(filter-out -nostdinc,\
16 $(patsubst -I%,-idirafter%,$(CPPFLAGS)))