2019-05-19 15:07:45 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-12-17 15:33:41 +03:00
|
|
|
obj-${CONFIG_USB4} := thunderbolt.o
|
2018-01-16 23:19:00 +03: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 15:33:43 +03:00
|
|
|
thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
|
2021-04-01 17:34:20 +03:00
|
|
|
thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o
|
2020-04-29 16:38:39 +03:00
|
|
|
|
2019-04-02 15:26:00 +03:00
|
|
|
thunderbolt-${CONFIG_ACPI} += acpi.o
|
2020-06-29 20:30:52 +03:00
|
|
|
thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o
|
2020-08-24 12:46:52 +03:00
|
|
|
thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o
|
2021-09-30 00:27:12 +03:00
|
|
|
CFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
|
2020-09-24 11:44:02 +03:00
|
|
|
|
|
|
|
thunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o
|
|
|
|
obj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o
|