summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-20 21:17:31 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-26 21:11:04 +0200
commitad8aee121381dd8ff4183f48ed83a848705b7951 (patch)
tree9b7a57730675a811ed29b6d30b6dd1aa373c64a4 /Makefile.target
parenta8662c8d2e1a7306402bd0931c12aa34aa69b510 (diff)
downloadqemu-ad8aee121381dd8ff4183f48ed83a848705b7951.tar.gz
qemu-ad8aee121381dd8ff4183f48ed83a848705b7951.tar.bz2
qemu-ad8aee121381dd8ff4183f48ed83a848705b7951.zip
microblaze: Hook into the build-system.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index f9f1c5984f..445d55f60b 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -185,6 +185,12 @@ endif
ifeq ($(findstring ppc, $(TARGET_BASE_ARCH) $(ARCH)),ppc)
LIBOBJS+=ppc-dis.o
endif
+ifeq ($(findstring microblaze, $(TARGET_BASE_ARCH) $(ARCH)),microblaze)
+LIBOBJS+=microblaze-dis.o
+ifndef CONFIG_USER_ONLY
+LIBOBJS+= mmu.o
+endif
+endif
ifeq ($(findstring mips, $(TARGET_BASE_ARCH) $(ARCH)),mips)
LIBOBJS+=mips-dis.o
endif
@@ -608,6 +614,21 @@ OBJS+= pflash_cfi01.o
OBJS+= vmware_vga.o
CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE
endif
+ifeq ($(TARGET_BASE_ARCH), microblaze)
+OBJS+= petalogix_s3adsp1800_mmu.o
+
+OBJS+= microblaze_pic_cpu.o
+OBJS+= xilinx_intc.o
+OBJS+= xilinx_timer.o
+OBJS+= xilinx_uartlite.o
+OBJS+= xilinx_ethlite.o
+
+OBJS+= pflash_cfi02.o
+ifdef FDT_LIBS
+OBJS+= device_tree.o
+LIBS+= $(FDT_LIBS)
+endif
+endif
ifeq ($(TARGET_BASE_ARCH), cris)
# Boards
OBJS+= cris_pic_cpu.o etraxfs.o axis_dev88.o