2 # Makefile for DWC_otg Highspeed USB controller driver
6 #PORTLIB := $(PWD)/../dwc_common_port
8 include $(TOPDIR)/config.mk
12 COBJS-y += modem_boot.o
15 COBJS-y += req_clk_gpio.o
16 COBJS-$(CONFIG_SPRD_SPI) += spi_channel_api.o
17 COBJS-y += sdio_channel_api.o
19 SRCS := $(COBJS:.o=.c)
20 OBJS := $(addprefix $(obj),$(COBJS))
25 $(LIB): $(obj).depend $(OBJS)
26 $(call cmd_link_o_target, $(OBJS))
29 $(CC) $(CFLAGS) -c -o $@ $<
31 #########################################################################
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
36 sinclude $(obj).depend
38 #########################################################################