WIP FPC-III support
[linux/fpc-iii.git] / drivers / infiniband / hw / hfi1 / Makefile
blob2e89ec10efeda8d5009c1a2d81bbb341a8ec2e0d
1 # SPDX-License-Identifier: GPL-2.0
3 # HFI driver
7 # Called from the kernel module build system.
9 obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
11 hfi1-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 ipoib_main.o \
26 ipoib_rx.o \
27 ipoib_tx.o \
28 mad.o \
29 mmu_rb.o \
30 msix.o \
31 netdev_rx.o \
32 opfn.o \
33 pcie.o \
34 pio.o \
35 pio_copy.o \
36 platform.o \
37 qp.o \
38 qsfp.o \
39 rc.o \
40 ruc.o \
41 sdma.o \
42 sysfs.o \
43 tid_rdma.o \
44 trace.o \
45 uc.o \
46 ud.o \
47 user_exp_rcv.o \
48 user_pages.o \
49 user_sdma.o \
50 verbs.o \
51 verbs_txreq.o \
52 vnic_main.o \
53 vnic_sdma.o
55 ifdef CONFIG_DEBUG_FS
56 hfi1-y += debugfs.o
57 ifdef CONFIG_FAULT_INJECTION
58 ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
59 hfi1-y += fault.o
60 endif
61 endif
62 endif
64 CFLAGS_trace.o = -I$(src)
65 ifdef MVERSION
66 CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\"
67 endif