summaryrefslogtreecommitdiff
path: root/board/MAI/AmigaOneG3SE/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/MAI/AmigaOneG3SE/Makefile')
-rw-r--r--board/MAI/AmigaOneG3SE/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/board/MAI/AmigaOneG3SE/Makefile b/board/MAI/AmigaOneG3SE/Makefile
index 7271746..785f01f 100644
--- a/board/MAI/AmigaOneG3SE/Makefile
+++ b/board/MAI/AmigaOneG3SE/Makefile
@@ -35,13 +35,16 @@ AOBJS = board_asm_init.o memio.o
OBJS = $(COBJS) $(AOBJS)
-## FIXME !!!
-# EMUOBJS = ../bios_emulator/scitech/src/x86emu/*.o
+EMUDIR = ../bios_emulator/scitech/src/x86emu/
+EMUOBJ = $(EMUDIR)decode.o $(EMUDIR)ops2.o $(EMUDIR)fpu.o $(EMUDIR)prim_ops.o \
+ $(EMUDIR)ops.o $(EMUDIR)sys.o
+EMUSRC = $(EMUOBJ:.o=.c)
-
-$(LIB): .depend $(OBJS) $(EMUOBJS)
+$(LIB): .depend $(OBJS) $(EMUSRC)
+ make libx86emu.a -C ../bios_emulator/scitech/src/x86emu -f makefile.uboot CROSS_COMPILE=$(CROSS_COMPILE)
-rm $(LIB)
- $(AR) crv $@ $(OBJS) $(EMUOBJS)
+ $(AR) crv $@ $(OBJS) $(EMUOBJ)
+
#########################################################################