]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/palmtc/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / board / palmtc / Makefile
index 3a12e6617561be60fc53df1e866dd7ac9d310968..15ef6599ef1f11b457e7e6ca40099b3ea30be1c2 100644 (file)
@@ -21,7 +21,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := palmtc.o
 
@@ -30,7 +30,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(OBJS)