]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/input/Makefile
Switch from archive libraries to partial linking
[karo-tx-uboot.git] / drivers / input / Makefile
index 9a144073999d71ef9b6a16bc9dc969c6bdef27f8..1f4dad35b53dcd26892e5586d62781dc17fb0541 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    := $(obj)libinput.a
+LIB    := $(obj)libinput.o
 
 COBJS-$(CONFIG_I8042_KBD) += i8042.o
 ifdef CONFIG_PS2KBD
@@ -38,7 +38,7 @@ OBJS  := $(addprefix $(obj),$(COBJS))
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################