qca-nss-drv: Add support for remaining SoC's
Currently it has support for ipq806x and ipq807x subtarget,
this change adds the support for remaining SoC's ipq40xx
and ipq807x_64.
Change-Id: I8f3e79d1238ca2b9015bd9e68ed3403628720a58
Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
diff --git a/Makefile b/Makefile
index c479ee2..460ca76 100644
--- a/Makefile
+++ b/Makefile
@@ -65,13 +65,13 @@
qca-nss-drv-objs += nss_data_plane/nss_data_plane.o
qca-nss-drv-objs += nss_hal/nss_hal.o
-ifeq ($(SoC), ipq806x)
+ifeq ($(SoC),$(filter $(SoC),ipq806x ipq40xx))
qca-nss-drv-objs += nss_data_plane/nss_data_plane_gmac.o \
nss_hal/ipq806x/nss_hal_pvt.o
ccflags-y += -I$(obj)/nss_hal/ipq806x -DNSS_HAL_IPQ806X_SUPPORT
endif
-ifeq ($(SoC), ipq807x)
+ifeq ($(SoC),$(filter $(SoC),ipq807x ipq807x_64))
qca-nss-drv-objs += nss_data_plane/nss_data_plane_edma.o \
nss_hal/ipq807x/nss_hal_pvt.o
ccflags-y += -I$(obj)/nss_hal/ipq807x -DNSS_HAL_IPQ807x_SUPPORT