]> git.sur5r.net Git - u-boot/blobdiff - arch/avr32/cpu/at32ap700x/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-imx
[u-boot] / arch / avr32 / cpu / at32ap700x / Makefile
index 46e6ef661a4093960ef08f9c6389137f07cd358c..8372149bd51b4a5f6bc021242d8947fb664d4ed5 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)lib$(SOC).a
+LIB    := $(obj)lib$(SOC).o
 
-COBJS  := portmux.o clk.o
+COBJS  := portmux.o clk.o mmu.o
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
 
 all: $(obj).depend $(LIB)
 
 $(LIB): $(OBJS)
-       $(AR) $(ARFLAGS) $@ $^
+       $(call cmd_link_o_target, $^)
 
 #########################################################################