blob: f93121a3aab2302290fcab697e12f63d1d9e77b7 [file] [log] [blame]
Tom Rixbffbb2a2009-10-31 12:37:40 -05001#
2# Copyright (c) 2009 Wind River Systems, Inc.
3# Tom Rix <Tom.Rix@windriver.com>
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Tom Rixbffbb2a2009-10-31 12:37:40 -05006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB := $(obj)libusb_phy.o
Tom Rixbffbb2a2009-10-31 12:37:40 -050011
12COBJS-$(CONFIG_TWL4030_USB) += twl4030.o
Tom Rixbffbb2a2009-10-31 12:37:40 -050013
14COBJS := $(COBJS-y)
15SRCS := $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17
18all: $(LIB)
19
20$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010021 $(call cmd_link_o_target, $(OBJS))
Tom Rixbffbb2a2009-10-31 12:37:40 -050022
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################