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