2011-12-05 09:07:00 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 Jana Rapava <fermata7@gmail.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-12-05 09:07:00 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB := $(obj)libusb_ulpi.o
|
|
|
|
|
|
|
|
COBJS-$(CONFIG_USB_ULPI) += ulpi.o
|
|
|
|
COBJS-$(CONFIG_USB_ULPI_VIEWPORT) += ulpi-viewport.o
|
2012-02-06 03:55:32 +00:00
|
|
|
COBJS-$(CONFIG_USB_ULPI_VIEWPORT_OMAP) += omap-ulpi-viewport.o
|
2011-12-05 09:07:00 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#########################################################################
|