ncsi: Impelment the setChannel/ClearInterface function
SetChannel:This function will ask underlying NCSI driver
to set the package or package/channel combination as the
preferred choice.
ClearInterface:This function clears any preferred setting
from the specific interface.
These functions talks with the NCSI driver through
the netlink messages.
Change-Id: Icb5ae35f83b5b0d0f9654ff4a0dd568fe10680a7
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 8696d03..768b5a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,7 +25,15 @@
ncsi_netlink_SOURCES = \
argument.cpp \
- ncsi_netlink_main.cpp
+ ncsi_netlink_main.cpp \
+ ncsi_util.cpp
+
+ncsi_netlink_LDFLAGS = \
+ $(PHOSPHOR_LOGGING_LIBS) \
+ -lnl-3 \
+ -lnl-genl-3
+
+ncsi_netlink_CPPFLAGS = -isystem=/usr/include/libnl3
phosphor_network_manager_SOURCES = \