summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-10-03 19:26:44 +0000
committerWolfgang Denk <wd@denx.de>2011-10-17 23:56:58 +0200
commit7a9219c17a6a15bfa96a87b352837be71b6738f6 (patch)
treed302692b8005d52bebb863db8d77dcb2ea92f48d /arch/sandbox/cpu/Makefile
parent8edf844f1b652bc81604d9b5fab59e2fa80fe3af (diff)
downloadu-boot-imx-7a9219c17a6a15bfa96a87b352837be71b6738f6.zip
u-boot-imx-7a9219c17a6a15bfa96a87b352837be71b6738f6.tar.gz
u-boot-imx-7a9219c17a6a15bfa96a87b352837be71b6738f6.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/cpu/Makefile')
-rw-r--r--arch/sandbox/cpu/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sandbox/cpu/Makefile b/arch/sandbox/cpu/Makefile
index 8dfa828..1a0b260 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))