]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/quad100hd/Makefile
Prepare v2013.07-rc1
[karo-tx-uboot.git] / board / quad100hd / Makefile
index 252ad5a45fbd951aa133148ecdf836d66f243ab8..4c17ce478fdd912d561aa8b7edc76d07091d489d 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o nand.o
 SOBJS   =
@@ -33,13 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################