Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Mike Marciniszyn | 7724105 | 2015-07-30 15:17:43 -0400 | [diff] [blame] | 2 | # |
| 3 | # HFI driver |
| 4 | # |
| 5 | # |
| 6 | # |
| 7 | # Called from the kernel module build system. |
| 8 | # |
| 9 | obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o |
| 10 | |
Dennis Dalessandro | c54a73d | 2018-08-15 22:58:31 -0700 | [diff] [blame] | 11 | hfi1-y := \ |
| 12 | affinity.o \ |
Michael J. Ruhl | bf3b1e0 | 2019-06-28 14:22:17 -0400 | [diff] [blame] | 13 | aspm.o \ |
Dennis Dalessandro | c54a73d | 2018-08-15 22:58:31 -0700 | [diff] [blame] | 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 \ |
Dennis Dalessandro | 5da0fc9 | 2018-09-28 07:17:09 -0700 | [diff] [blame] | 24 | iowait.o \ |
Gary Leshner | 438d7dd | 2020-05-11 12:05:54 -0400 | [diff] [blame] | 25 | ipoib_main.o \ |
Kaike Wan | 6991abc | 2020-05-11 12:06:31 -0400 | [diff] [blame] | 26 | ipoib_rx.o \ |
Gary Leshner | d99dc60 | 2020-05-11 12:05:48 -0400 | [diff] [blame] | 27 | ipoib_tx.o \ |
Dennis Dalessandro | c54a73d | 2018-08-15 22:58:31 -0700 | [diff] [blame] | 28 | mad.o \ |
| 29 | mmu_rb.o \ |
Michael J. Ruhl | 09e7189 | 2018-08-16 06:28:40 -0700 | [diff] [blame] | 30 | msix.o \ |
Kaike Wan | 6991abc | 2020-05-11 12:06:31 -0400 | [diff] [blame] | 31 | netdev_rx.o \ |
Kaike Wan | f01b4d5 | 2019-01-23 19:20:52 -0800 | [diff] [blame] | 32 | opfn.o \ |
Dennis Dalessandro | c54a73d | 2018-08-15 22:58:31 -0700 | [diff] [blame] | 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 \ |
Mike Marciniszyn | 5190f05 | 2018-11-28 10:22:31 -0800 | [diff] [blame] | 43 | tid_rdma.o \ |
Dennis Dalessandro | c54a73d | 2018-08-15 22:58:31 -0700 | [diff] [blame] | 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 |
Mitko Haralanov | a74d530 | 2018-05-02 06:43:24 -0700 | [diff] [blame] | 54 | |
| 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 |
Mike Marciniszyn | 7724105 | 2015-07-30 15:17:43 -0400 | [diff] [blame] | 63 | |
| 64 | CFLAGS_trace.o = -I$(src) |
| 65 | ifdef MVERSION |
| 66 | CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\" |
| 67 | endif |