blob: 78fd365893c13f284a7de60b399edb0da0a40aec [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Mika Westerberg690ac0d2019-12-17 15:33:41 +03002obj-${CONFIG_USB4} := thunderbolt.o
Mika Westerberg3cdb9442018-01-16 22:19:00 +02003thunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o
Rajmohan Manicf29b9af2019-12-17 15:33:43 +03004thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
Mika Westerbergcae5f512021-04-01 17:34:20 +03005thunderbolt-objs += usb4_port.o nvm.o retimer.o quirks.o
Mika Westerberg54509f52020-04-29 16:38:39 +03006
Mika Westerbergb2be2b02019-04-02 15:26:00 +03007thunderbolt-${CONFIG_ACPI} += acpi.o
Gil Fine54e41812020-06-29 20:30:52 +03008thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o
Mika Westerberg2c6ea4e2020-08-24 12:46:52 +03009thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o
Brendan Higgins33d4951e2021-09-29 14:27:12 -070010CFLAGS_test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
Isaac Hazanedc0f492020-09-24 11:44:02 +030011
12thunderbolt_dma_test-${CONFIG_USB4_DMA_TEST} += dma_test.o
13obj-$(CONFIG_USB4_DMA_TEST) += thunderbolt_dma_test.o