]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/BuS/eb_cpux9k2/Makefile
arm:at91-boards: remove console_init_f where unnecessary
[karo-tx-uboot.git] / board / BuS / eb_cpux9k2 / Makefile
index 8171a7d0b51c8c17003425e072014288db6103b2..82773c53cafa9c2724d4813b412b35f903fb1fe1 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := cpux9k2.o
 
@@ -32,13 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(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))
 
 #########################################################################