[qca-nss-clients] Separate compile option for klips plugin
Signed-off-by: Hardik S. Panchal <hpanchal@codeaurora.org>
Change-Id: I8dae0913d07aac86df904e2b207f3371cd1df7f3
diff --git a/Makefile b/Makefile
index e076482..2942030 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@
obj-$(dtlsmgr)+= dtls/$(DTLSMGR_DIR)/
obj-$(gre)+= gre/
obj-$(ipsecmgr)+= ipsecmgr/$(IPSECMGR_DIR)/
+obj-$(ipsecmgr-klips)+= ipsecmgr/$(IPSECMGR_DIR)/plugins/klips/
obj-$(l2tpv2)+= l2tp/l2tpv2/
obj-$(lag-mgr)+= lag/
obj-$(map-t)+= map/map-t/
diff --git a/ipsecmgr/v2.0/Makefile b/ipsecmgr/v2.0/Makefile
index 4fba151..94f929c 100644
--- a/ipsecmgr/v2.0/Makefile
+++ b/ipsecmgr/v2.0/Makefile
@@ -13,8 +13,6 @@
qca-nss-ipsecmgr-objs += nss_ipsecmgr_flow.o
ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
-obj-y+= plugins/klips/
-
ifeq ($(SoC),$(filter $(SoC),ipq807x ipq807x_64 ipq60xx ipq60xx_64))
ccflags-y += -DNSS_IPSECMGR_PPE_SUPPORT
ccflags-y += -DNSS_IPSECMGR_DMA_SUPPORT