2015-07-31 03:17:43 +08:00
|
|
|
#
|
|
|
|
# HFI driver
|
|
|
|
#
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Called from the kernel module build system.
|
|
|
|
#
|
|
|
|
obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
|
|
|
|
|
2016-05-19 20:26:10 +08:00
|
|
|
hfi1-y := affinity.o chip.o device.o driver.o efivar.o \
|
2016-02-04 06:33:40 +08:00
|
|
|
eprom.o file_ops.o firmware.o \
|
2016-03-09 03:14:20 +08:00
|
|
|
init.o intr.o mad.o mmu_rb.o pcie.o pio.o pio_copy.o platform.o \
|
2016-07-02 07:01:50 +08:00
|
|
|
qp.o qsfp.o rc.o ruc.o sdma.o sysfs.o trace.o \
|
2016-02-15 04:44:34 +08:00
|
|
|
uc.o ud.o user_exp_rcv.o user_pages.o user_sdma.o verbs.o \
|
|
|
|
verbs_txreq.o
|
2015-07-31 03:17:43 +08:00
|
|
|
hfi1-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
|
|
|
|
|
|
CFLAGS_trace.o = -I$(src)
|
|
|
|
ifdef MVERSION
|
|
|
|
CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\"
|
|
|
|
endif
|