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 opfn.o \ 28 pcie.o \ 29 pio.o \ 30 pio_copy.o \ 31 platform.o \ 32 qp.o \ 33 qsfp.o \ 34 rc.o \ 35 ruc.o \ 36 sdma.o \ 37 sysfs.o \ 38 tid_rdma.o \ 39 trace.o \ 40 uc.o \ 41 ud.o \ 42 user_exp_rcv.o \ 43 user_pages.o \ 44 user_sdma.o \ 45 verbs.o \ 46 verbs_txreq.o \ 47 vnic_main.o \ 48 vnic_sdma.o 49 50ifdef CONFIG_DEBUG_FS 51hfi1-y += debugfs.o 52ifdef CONFIG_FAULT_INJECTION 53ifdef CONFIG_FAULT_INJECTION_DEBUG_FS 54hfi1-y += fault.o 55endif 56endif 57endif 58 59CFLAGS_trace.o = -I$(src) 60ifdef MVERSION 61CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 62endif 63