summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/Makefile')
-rw-r--r--drivers/usb/phy/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/phy/Makefile b/drivers/usb/phy/Makefile
index f09e55fd4c..55475709f5 100644
--- a/drivers/usb/phy/Makefile
+++ b/drivers/usb/phy/Makefile
@@ -20,7 +20,7 @@
include $(TOPDIR)/config.mk
-LIB := $(obj)libusb_phy.a
+LIB := $(obj)libusb_phy.o
COBJS-$(CONFIG_TWL4030_USB) += twl4030.o
@@ -31,7 +31,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################
OpenPOWER on IntegriCloud