xref: /openbmc/linux/drivers/net/ipa/Makefile (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1ec2ea5e0SAlex Elder# SPDX-License-Identifier: GPL-2.0
2ec2ea5e0SAlex Elder#
3ec2ea5e0SAlex Elder# Makefile for the Qualcomm IPA driver.
4ec2ea5e0SAlex Elder
5ed4c7d61SAlex ElderIPA_REG_VERSIONS	:=	3.1 3.5.1 4.2 4.5 4.7 4.9 4.11 5.0
6ec2ea5e0SAlex Elder
7d2bb6e65SAlex Elder# Some IPA versions can reuse another set of GSI register definitions.
8faf0678eSAlex ElderGSI_REG_VERSIONS	:=	3.1 3.5.1 4.0 4.5 4.9 4.11 5.0
9ed4c7d61SAlex Elder
10*cb7550b4SAlex ElderIPA_DATA_VERSIONS	:=	3.1 3.5.1 4.2 4.5 4.7 4.9 4.11 5.0
11d2bb6e65SAlex Elder
1208120d23SAlex Elderobj-$(CONFIG_QCOM_IPA)	+=	ipa.o
1308120d23SAlex Elder
142775cbc5SAlex Elderipa-y			:=	ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \
153c506addSAlex Elder				ipa_table.o ipa_interrupt.o gsi.o gsi_reg.o \
163c506addSAlex Elder				gsi_trans.o ipa_gsi.o ipa_smp2p.o ipa_uc.o \
1708120d23SAlex Elder				ipa_endpoint.o ipa_cmd.o ipa_modem.o \
182e3cf97fSAlex Elder				ipa_resource.o ipa_qmi.o ipa_qmi_msg.o \
192e3cf97fSAlex Elder				ipa_sysfs.o
2008120d23SAlex Elder
21ed4c7d61SAlex Elderipa-y			+=	$(IPA_REG_VERSIONS:%=reg/ipa_reg-v%.o)
22d2bb6e65SAlex Elder
23ed4c7d61SAlex Elderipa-y			+=	$(GSI_REG_VERSIONS:%=reg/gsi_reg-v%.o)
2407f120bcSAlex Elder
25ed4c7d61SAlex Elderipa-y			+=	$(IPA_DATA_VERSIONS:%=data/ipa_data-v%.o)
26