From 72b675caacfc6f2fde17e6b51a668c0d5409a8f7 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Wed, 20 May 2009 21:17:31 +0200 Subject: microblaze: Hook into the build-system. Signed-off-by: Edgar E. Iglesias --- Makefile.target | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index f9f1c59..445d55f 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 -- cgit v1.1