]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - cpu/microblaze/Makefile
fix: clean interrupt
[karo-tx-uboot.git] / cpu / microblaze / Makefile
index 07ed6cedc28d5fae40834648478127b587004e37..b7be5e146cb5379975414daadfb6a745c1ebf9fe 100644 (file)
@@ -26,7 +26,9 @@ include $(TOPDIR)/config.mk
 LIB    = $(obj)lib$(CPU).a
 
 START  = start.o
-COBJS  = cpu.o interrupts.o
+#SOBJS = dcache.o icache.o irq.o disable_int.o enable_int.o
+SOBJS  = dcache.o icache.o irq.o
+COBJS  = cpu.o interrupts.o cache.o exception.o timer.o
 
 SRCS   := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
@@ -35,7 +37,7 @@ START := $(addprefix $(obj),$(START))
 all:   $(obj).depend $(START) $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(AR) $(ARFLAGS) $@ $(OBJS)
 
 #########################################################################