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