]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/fdos/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / fs / fdos / Makefile
index fce2032bddc1b1bc09bffb66e021a957ee702d13..9cd4d91742a08f52b3b5eae4e532fb1f8e63806f 100644 (file)
@@ -28,7 +28,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)libfdos.a
+LIB    = $(obj)libfdos.o
 
 AOBJS  =
 COBJS-$(CONFIG_CMD_FDOS) := fat.o vfat.o dev.o fdos.o fs.o subdir.o
@@ -41,7 +41,7 @@ OBJS  := $(addprefix $(obj),$(AOBJS) $(COBJS-y))
 all:   $(LIB) $(AOBJS)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 
 #########################################################################