2 # Copyright (c) 2009 Wind River Systems, Inc.
3 # Tom Rix <Tom.Rix@windriver.com>
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR)/config.mk
10 LIB := $(obj)libusb_phy.o
12 COBJS-$(CONFIG_TWL4030_USB) += twl4030.o
13 COBJS-$(CONFIG_OMAP_USB_PHY) += omap_usb_phy.o
16 SRCS := $(COBJS:.o=.c)
17 OBJS := $(addprefix $(obj),$(COBJS))
21 $(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
24 #########################################################################
26 # defines $(obj).depend target
27 include $(SRCTREE)/rules.mk
29 sinclude $(obj).depend
31 #########################################################################