2019-05-19 05:07:45 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2023-02-12 15:45:21 -07:00
|
|
|
ccflags-y := -I$(src)
|
2019-12-17 05:33:41 -07:00
|
|
|
obj-${CONFIG_USB4} := thunderbolt.o
|
2018-01-16 13:19:00 -07:00
|
|
|
thunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o
|
2019-12-17 05:33:43 -07:00
|
|
|
thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
|
2022-10-07 08:12:02 -07:00
|
|
|
thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o clx.o
|
2020-04-29 06:38:39 -07:00
|
|
|
|
2019-04-02 05:26:00 -07:00
|
|
|
thunderbolt-${CONFIG_ACPI} += acpi.o
|
2020-06-29 10:30:52 -07:00
|
|
|
thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o
|
2020-08-24 02:46:52 -07:00
|
|
|
thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o
|
2021-09-29 14:27:12 -07:00
|
|
|
CFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
|
2020-09-24 01:44:02 -07:00
|
|
|
|
|
|
|
thunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o
|
|
|
|
obj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o
|