From 7a9219c17a6a15bfa96a87b352837be71b6738f6 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 3 Oct 2011 19:26:44 +0000 Subject: sandbox: Add OS dependent layer We want to keep all OS-dependent code in once place, with a simple interface to U-Boot. For now, this is that place. Signed-off-by: Simon Glass --- arch/sandbox/cpu/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arch/sandbox/cpu/Makefile') diff --git a/arch/sandbox/cpu/Makefile b/arch/sandbox/cpu/Makefile index 8dfa828354..1a0b260cef 100644 --- a/arch/sandbox/cpu/Makefile +++ b/arch/sandbox/cpu/Makefile @@ -23,11 +23,14 @@ # MA 02111-1307 USA # +# os.c is build in the system environment, so needs standard includes +CPPFLAGS_arch/sandbox/cpu/os.o += -I/usr/include + include $(TOPDIR)/config.mk LIB = $(obj)lib$(CPU).o -COBJS := cpu.o +COBJS := cpu.o os.o SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) -- cgit v1.2.1