blob: ba5a1ab5bf6faef2920c4fb6d88d01d6b0cf2dc4 [file] [log] [blame]
Jana Rapavaa5235952011-12-05 11:07:00 +02001#
2# Copyright (C) 2011 Jana Rapava <fermata7@gmail.com>
Jana Rapavaa5235952011-12-05 11:07:00 +02003#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Jana Rapavaa5235952011-12-05 11:07:00 +02005#
6
7include $(TOPDIR)/config.mk
8
9LIB := $(obj)libusb_ulpi.o
10
11COBJS-$(CONFIG_USB_ULPI) += ulpi.o
12COBJS-$(CONFIG_USB_ULPI_VIEWPORT) += ulpi-viewport.o
Govindraj.Rc5e57072012-02-06 03:55:32 +000013COBJS-$(CONFIG_USB_ULPI_VIEWPORT_OMAP) += omap-ulpi-viewport.o
Jana Rapavaa5235952011-12-05 11:07:00 +020014
15COBJS := $(COBJS-y)
16SRCS := $(COBJS:.o=.c)
17OBJS := $(addprefix $(obj),$(COBJS))
18
19all: $(LIB)
20
21$(LIB): $(obj).depend $(OBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################