]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bf527-ezkit/Makefile
arm:at91-boards: remove console_init_f where unnecessary
[karo-tx-uboot.git] / board / bf527-ezkit / Makefile
index 1a2f4b16bbc6d7f3af29fef756fc9aa1038b70b8..fdbcec59531a0c9834aaf4ccdef65ebdd908ff4c 100644 (file)
@@ -27,7 +27,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS-y        := $(BOARD).o
 COBJS-$(CONFIG_VIDEO)      += video.o
@@ -37,13 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS-y))
 SOBJS  := $(addprefix $(obj),$(SOBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################