qca-nss-clients: Add makefile for FSM9010 target
FSM9010 will use only Netlink, Profiler and IPsec manager.
Change-Id: I1977336d267c61cbe29527da18505097a0218f77
Signed-off-by: Arunkumar <athand@codeaurora.org>
diff --git a/Makefile b/Makefile
index 1ea1d2b..257821e 100644
--- a/Makefile
+++ b/Makefile
@@ -25,16 +25,14 @@
endif
#IPsec manager
-ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\
- $(findstring 3.4, $(KERNELVERSION))),)
+ifneq ($(findstring 3.4, $(KERNELVERSION)),)
obj-m += qca-nss-ipsecmgr.o
qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
endif
#NSS NETLINK
-ifneq ($(or $(findstring 3.10, $(KERNELVERSION)),\
- $(findstring 3.4, $(KERNELVERSION))),)
+ifneq ($(findstring 3.4, $(KERNELVERSION)),)
obj-y+= netlink/
endif
diff --git a/Makefile.fsm b/Makefile.fsm
new file mode 100644
index 0000000..ed95bc2
--- /dev/null
+++ b/Makefile.fsm
@@ -0,0 +1,17 @@
+# Makefile for the clients using the NSS driver
+
+ccflags-y := -I$(obj) -I$(obj)/..
+
+# Profiler
+obj-y+= profiler/
+
+#IPsec manager
+obj-m += qca-nss-ipsecmgr.o
+qca-nss-ipsecmgr-objs := nss_ipsecmgr.o
+ccflags-y += -DNSS_IPSECMGR_DEBUG_LEVEL=3
+
+#NSS NETLINK
+obj-y+= netlink/
+
+obj ?= .
+