]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/arm1176/s3c64xx/Makefile
arm: fix incorrect monitor protection region in FLASH
[u-boot] / arch / arm / cpu / arm1176 / s3c64xx / Makefile
index b52793913773187927ad4f668354a90348ff7d36..0785b194c50cd4894f6031ba03d98a67af0f9870 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(SOC).a
+LIB    = $(obj)lib$(SOC).o
 
 SOBJS  = reset.o
 
@@ -38,7 +38,7 @@ OBJS  := $(addprefix $(obj),$(SOBJS) $(COBJS-y))
 all:   $(obj).depend $(START) $(LIB)
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################