ncsi: Add code to accept command line arguments
Accepts command line arguments for interface index,
ncsi channel,package etc.
Change-Id: Ib2b049a2fb017593a0a4329b26bbd64c65c8b580
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 459a377..8696d03 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,7 @@
xyz/openbmc_project/Network/VLAN/Create/server.hpp \
xyz/openbmc_project/Network/IP/Create/server.hpp
-sbin_PROGRAMS = phosphor-network-manager
+sbin_PROGRAMS = phosphor-network-manager ncsi-netlink
noinst_HEADERS = \
ethernet_interface.hpp \
@@ -20,7 +20,13 @@
rtnetlink_server.hpp \
timer.hpp \
dns_updater.hpp \
- watch.hpp
+ watch.hpp \
+ argument.hpp
+
+ncsi_netlink_SOURCES = \
+ argument.cpp \
+ ncsi_netlink_main.cpp
+
phosphor_network_manager_SOURCES = \
ethernet_interface.cpp \