1# SPDX-License-Identifier: GPL-2.0 2# 3# HFI driver 4# 5# 6# 7# Called from the kernel module build system. 8# 9obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o 10 11hfi1-y := \ 12 affinity.o \ 13 chip.o \ 14 device.o \ 15 driver.o \ 16 efivar.o \ 17 eprom.o \ 18 exp_rcv.o \ 19 file_ops.o \ 20 firmware.o \ 21 init.o \ 22 intr.o \ 23 iowait.o \ 24 mad.o \ 25 mmu_rb.o \ 26 msix.o \ 27 pcie.o \ 28 pio.o \ 29 pio_copy.o \ 30 platform.o \ 31 qp.o \ 32 qsfp.o \ 33 rc.o \ 34 ruc.o \ 35 sdma.o \ 36 sysfs.o \ 37 trace.o \ 38 uc.o \ 39 ud.o \ 40 user_exp_rcv.o \ 41 user_pages.o \ 42 user_sdma.o \ 43 verbs.o \ 44 verbs_txreq.o \ 45 vnic_main.o \ 46 vnic_sdma.o 47 48ifdef CONFIG_DEBUG_FS 49hfi1-y += debugfs.o 50ifdef CONFIG_FAULT_INJECTION 51ifdef CONFIG_FAULT_INJECTION_DEBUG_FS 52hfi1-y += fault.o 53endif 54endif 55endif 56 57CFLAGS_trace.o = -I$(src) 58ifdef MVERSION 59CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 60endif 61