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 := affinity.o chip.o device.o driver.o efivar.o \ 12 eprom.o exp_rcv.o file_ops.o firmware.o \ 13 init.o intr.o mad.o mmu_rb.o pcie.o pio.o pio_copy.o platform.o \ 14 qp.o qsfp.o rc.o ruc.o sdma.o sysfs.o trace.o \ 15 uc.o ud.o user_exp_rcv.o user_pages.o user_sdma.o verbs.o \ 16 verbs_txreq.o vnic_main.o vnic_sdma.o 17 18ifdef CONFIG_DEBUG_FS 19hfi1-y += debugfs.o 20ifdef CONFIG_FAULT_INJECTION 21ifdef CONFIG_FAULT_INJECTION_DEBUG_FS 22hfi1-y += fault.o 23endif 24endif 25endif 26 27CFLAGS_trace.o = -I$(src) 28ifdef MVERSION 29CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 30endif 31