]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/isee/igep0020/Makefile
punt unused clean/distclean targets
[karo-tx-uboot.git] / board / isee / igep0020 / Makefile
index 2f118792d1145bc9060323d8259dba945901f0a5..00463e168e2801fa5b1a7247f9851828cea11cc7 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := igep0020.o
 
@@ -31,13 +31,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))
 
 #########################################################################