]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/sandbox/cpu/Makefile
sandbox: Add OS dependent layer
[people/ms/u-boot.git] / arch / sandbox / cpu / Makefile
index 8dfa8283541a2232e829a9e68b51f67ca96dccbe..1a0b260cefc96682cf2ca77cb40eb68842b4e599 100644 (file)
 # 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))