Skip to content

Commit

Permalink
net: ipa: list supported IPA versions in the Makefile
Browse files Browse the repository at this point in the history
Create a variable in the Makefile listing the IPA versions supported
by the driver.  Use that to create the list of configuration data
object files used (rather than listing them all individually).

Add a SPDX license comment.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Alex Elder authored and Jakub Kicinski committed Jul 21, 2022
1 parent 4ab6e35 commit ec2ea5e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions drivers/net/ipa/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the Qualcomm IPA driver.

IPA_VERSIONS := 3.1 3.5.1 4.2 4.5 4.9 4.11

obj-$(CONFIG_QCOM_IPA) += ipa.o

ipa-y := ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \
@@ -7,6 +13,4 @@ ipa-y := ipa_main.o ipa_power.o ipa_reg.o ipa_mem.o \
ipa_resource.o ipa_qmi.o ipa_qmi_msg.o \
ipa_sysfs.o

ipa-y += ipa_data-v3.1.o ipa_data-v3.5.1.o \
ipa_data-v4.2.o ipa_data-v4.5.o \
ipa_data-v4.9.o ipa_data-v4.11.o
ipa-y += $(IPA_VERSIONS:%=ipa_data-v%.o)

0 comments on commit ec2ea5e

Please sign in to comment.