]> git.sur5r.net Git - u-boot/blobdiff - board/zipitz2/Makefile
nios2: implement get_ticks and get_tbclk
[u-boot] / board / zipitz2 / Makefile
index 8d452de63cb8d00e12208261274e3a739ca8ccaa..7bd542ba5e2d1da57931358f6333890a2f29f839 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := zipitz2.o
 
@@ -34,13 +34,7 @@ SRCS := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################