]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ms7750se/Makefile
add missing 'ocp' node
[karo-tx-uboot.git] / board / ms7750se / Makefile
index 01ddf69201e4ec510a5a5df75d9c8eecb8d68111..c7088e85363ec97e2492de774d9dcc77e92a7913 100644 (file)
@@ -19,7 +19,7 @@
 #
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := ms7750se.o
 SOBJS  := lowlevel_init.o
@@ -29,13 +29,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 $(obj).depend
+       $(call cmd_link_o_target, $(OBJS) $(SOBJS))
 
 #########################################################################