# SPDX-License-Identifier: GPL-2.0
#
# Makefile for Hobot USB Phy Controller Drivers
#
ccflags-y += -I${srctree}/inclde/linux

obj-$(CONFIG_USB_HOBOT_PHY)			+=	hb_usb.o
hb_usb-y							+=	hobot-usb-phy.o

# debugfs
ifeq ($(CONFIG_DEBUG_FS), y)
hb_usb-y							+=	hobot-usb-phy-debugfs.o
endif

# extcon driver
ifneq ($(CONFIG_EXTCON),)
hb_usb-y							+=	hobot-usb-extcon.o
endif
