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