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
commit72b675caacfc6f2fde17e6b51a668c0d5409a8f7 (patch)
tree9b7a57730675a811ed29b6d30b6dd1aa373c64a4 /Makefile.target
parentd74d6a99a05e07771acc5f6b91db04be4c1f007f (diff)
downloadqemu-72b675caacfc6f2fde17e6b51a668c0d5409a8f7.tar.gz
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