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 aspm.o \ 14 chip.o \ 15 device.o \ 16 driver.o \ 17 efivar.o \ 18 eprom.o \ 19 exp_rcv.o \ 20 file_ops.o \ 21 firmware.o \ 22 init.o \ 23 intr.o \ 24 iowait.o \ 25 mad.o \ 26 mmu_rb.o \ 27 msix.o \ 28 opfn.o \ 29 pcie.o \ 30 pio.o \ 31 pio_copy.o \ 32 platform.o \ 33 qp.o \ 34 qsfp.o \ 35 rc.o \ 36 ruc.o \ 37 sdma.o \ 38 sysfs.o \ 39 tid_rdma.o \ 40 trace.o \ 41 uc.o \ 42 ud.o \ 43 user_exp_rcv.o \ 44 user_pages.o \ 45 user_sdma.o \ 46 verbs.o \ 47 verbs_txreq.o \ 48 vnic_main.o \ 49 vnic_sdma.o 50 51ifdef CONFIG_DEBUG_FS 52hfi1-y += debugfs.o 53ifdef CONFIG_FAULT_INJECTION 54ifdef CONFIG_FAULT_INJECTION_DEBUG_FS 55hfi1-y += fault.o 56endif 57endif 58endif 59 60CFLAGS_trace.o = -I$(src) 61ifdef MVERSION 62CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 63endif 64