summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/Makefile
diff options
context:
space:
mode:
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))