]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/alaska/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / alaska / Makefile
index 5297e81435708ede2b4ebef823d370b62e5291d0..d8aace2e0962b71be4357c1ad6ea94438c50b09d 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := $(BOARD).o flash.o
 
@@ -32,7 +32,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(SOBJS) $(OBJS)