]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/microblaze/lib/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-mmc
[karo-tx-uboot.git] / arch / microblaze / lib / Makefile
index 9b0f296e3fda0f2adf2b5d99a924298aa5e9e023..a40e8d47a55584297cb8686ce2037ce38cfe70f0 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(ARCH).a
+LIB    = $(obj)lib$(ARCH).o
 
 SOBJS-y        +=
 
 COBJS-y        += board.o
-COBJS-y        += bootm.o
-COBJS-y        += cache.o
-COBJS-y        += time.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
+COBJS-y        += muldi3.o
 
 SRCS   := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################