Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Mika Westerberg | 690ac0d | 2019-12-17 15:33:41 +0300 | [diff] [blame] | 2 | obj-${CONFIG_USB4} := thunderbolt.o |
Mika Westerberg | 3cdb944 | 2018-01-16 22:19:00 +0200 | [diff] [blame] | 3 | thunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o |
Rajmohan Mani | cf29b9af | 2019-12-17 15:33:43 +0300 | [diff] [blame] | 4 | thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o |
Mika Westerberg | cae5f51 | 2021-04-01 17:34:20 +0300 | [diff] [blame] | 5 | thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o |
Mika Westerberg | 54509f5 | 2020-04-29 16:38:39 +0300 | [diff] [blame] | 6 | |
Mika Westerberg | b2be2b0 | 2019-04-02 15:26:00 +0300 | [diff] [blame] | 7 | thunderbolt-${CONFIG_ACPI} += acpi.o |
Gil Fine | 54e4181 | 2020-06-29 20:30:52 +0300 | [diff] [blame] | 8 | thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o |
Mika Westerberg | 2c6ea4e | 2020-08-24 12:46:52 +0300 | [diff] [blame] | 9 | thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o |
Brendan Higgins | 33d4951e | 2021-09-29 14:27:12 -0700 | [diff] [blame] | 10 | CFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN) |
Isaac Hazan | edc0f49 | 2020-09-24 11:44:02 +0300 | [diff] [blame] | 11 | |
| 12 | thunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o |
| 13 | obj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o |