mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 03:55:09 +08:00
2c6ea4e2ce
This adds a bit more build coverage for the tests even though these are not expected to be enabled by normal users and distros. In order to make this working we need to open-code kunit_test_suite() and call the relevant functions directly in the driver init/exit hook. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
10 lines
423 B
Makefile
10 lines
423 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-${CONFIG_USB4} := thunderbolt.o
|
|
thunderbolt-objs := nhi.o nhi_ops.o ctl.o tb.o switch.o cap.o path.o tunnel.o eeprom.o
|
|
thunderbolt-objs += domain.o dma_port.o icm.o property.o xdomain.o lc.o tmu.o usb4.o
|
|
thunderbolt-objs += nvm.o retimer.o quirks.o
|
|
|
|
thunderbolt-${CONFIG_ACPI} += acpi.o
|
|
thunderbolt-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
thunderbolt-${CONFIG_USB4_KUNIT_TEST} += test.o
|