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 17hfi1-$(CONFIG_DEBUG_FS) += debugfs.o 18 19CFLAGS_trace.o = -I$(src) 20ifdef MVERSION 21CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" 22endif 23