]> git.sur5r.net Git - u-boot/blobdiff - drivers/usb/phy/Makefile
udc: dfu: s3c_udc: Provide function to check if USB reset was asserted
[u-boot] / drivers / usb / phy / Makefile
index 5beec7854ce5983b084d3c8141e2dd4ec6a849a7..93d147e26f17fb985e803db7c79d7d9eb054bf63 100644 (file)
@@ -5,27 +5,5 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-include $(TOPDIR)/config.mk
-
-LIB    := $(obj)libusb_phy.o
-
-COBJS-$(CONFIG_TWL4030_USB) += twl4030.o
-COBJS-$(CONFIG_OMAP_USB_PHY) += omap_usb_phy.o
-
-COBJS  := $(COBJS-y)
-SRCS   := $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(COBJS))
-
-all:   $(LIB)
-
-$(LIB):        $(obj).depend $(OBJS)
-       $(call cmd_link_o_target, $(OBJS))
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################
+obj-$(CONFIG_TWL4030_USB) += twl4030.o
+obj-$(CONFIG_OMAP_USB_PHY) += omap_usb_phy.o