xref: /linux/drivers/thunderbolt/Makefile (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2*a0c45b0bSGil Fineccflags-y := -I$(src)
3690ac0d2SMika Westerbergobj-${CONFIG_USB4} := thunderbolt.o
43cdb9446SMika Westerbergthunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o
5cf29b9afSRajmohan Manithunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
612a14f2fSMika Westerbergthunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o clx.o
754509f50SMika Westerberg
8b2be2b05SMika Westerbergthunderbolt-${CONFIG_ACPI} += acpi.o
954e41810SGil Finethunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o
102c6ea4e2SMika Westerbergthunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o
1133d4951eSBrendan HigginsCFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
12edc0f494SIsaac Hazan
13edc0f494SIsaac Hazanthunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o
14edc0f494SIsaac Hazanobj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o
15