at91: atmel_nand: remove unused variables.
[platform/kernel/u-boot.git] / post / rules.mk
index 1efc9c7..17f8ef7 100644 (file)
@@ -34,7 +34,7 @@ CPPFLAGS += -I$(TOPDIR)
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################