Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
23 lines
606 B
Makefile
23 lines
606 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# HFI driver
|
|
#
|
|
#
|
|
#
|
|
# Called from the kernel module build system.
|
|
#
|
|
obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
|
|
|
|
hfi1-y := affinity.o chip.o device.o driver.o efivar.o \
|
|
eprom.o exp_rcv.o file_ops.o firmware.o \
|
|
init.o intr.o mad.o mmu_rb.o pcie.o pio.o pio_copy.o platform.o \
|
|
qp.o qsfp.o rc.o ruc.o sdma.o sysfs.o trace.o \
|
|
uc.o ud.o user_exp_rcv.o user_pages.o user_sdma.o verbs.o \
|
|
verbs_txreq.o vnic_main.o vnic_sdma.o
|
|
hfi1-$(CONFIG_DEBUG_FS) += debugfs.o
|
|
|
|
CFLAGS_trace.o = -I$(src)
|
|
ifdef MVERSION
|
|
CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\"
|
|
endif
|