kernel_samsung_a34x-permissive/drivers/misc/mediatek/usb_offload/Makefile
2024-04-28 15:51:13 +02:00

23 lines
627 B
Makefile

# SPDX-License-Identifier: GPL-2.0
#
# USB peripheral controller drivers
#
### for adsp
ifneq ($(CONFIG_MTK_AUDIODSP_SUPPORT), )
ccflags-y += -I$(srctree)/drivers/misc/mediatek/adsp/include
ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/include
ccflags-y += -I$(srctree)/drivers/misc/mediatek/audio_ipi/common_v2/framework/
ccflags-y += -I$(srctree)/drivers/misc/mediatek/adsp/$(CONFIG_MTK_PLATFORM)/
endif
ifneq ($(CONFIG_USB_XHCI_MTK), )
ccflags-y += -I$(srctree)/drivers/usb/host
endif
ifneq ($(CONFIG_SND_USB_AUDIO), )
ccflags-y += -I$(srctree)/sound/usb
endif
obj-$(CONFIG_MTK_USB_OFFLOAD) += usb_offload.o