commit 0071ecef8bac9a0b7ae970cbbddb3a6431880951
parent 8da33905f4cd22e72c6b08cbfdbd31fb907922aa
Author: Marcel Holtmann <marcel@holtmann.org>
Date: Fri, 14 Sep 2018 13:47:51 +0200
build: Add skeleton for Ethernet authentication daemon
Diffstat:
5 files changed, 47 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -22,6 +22,7 @@ src/iwd
src/iwd.service
client/iwctl
monitor/iwmon
+wired/ead
tools/hwsim
tools/test-runner
doc/iwmon.1
diff --git a/Makefile.am b/Makefile.am
@@ -179,6 +179,14 @@ monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \
monitor_iwmon_LDADD = ell/libell-internal.la
endif
+if WIRED
+libexec_PROGRAMS += wired/ead
+
+wired_ead_SOURCES = wired/main.c
+wired_ead_LDADD = ell/libell-internal.la
+wired_ead_DEPENDENCIES = ell/libell-internal.la
+endif
+
if TOOLS
noinst_PROGRAMS += tools/hwsim
diff --git a/bootstrap-configure b/bootstrap-configure
@@ -11,6 +11,7 @@ fi
--localstatedir=/var \
--enable-sim-hardcoded \
--enable-ofono \
+ --enable-wired \
--enable-tools \
--disable-dbus-policy \
--disable-systemd-service $*
diff --git a/configure.ac b/configure.ac
@@ -154,6 +154,11 @@ AC_ARG_ENABLE(ofono, AC_HELP_STRING([--enable-ofono],
[enable_ofono=${enableval}])
AM_CONDITIONAL(OFONO, test "${enable_ofono}" = "yes")
+AC_ARG_ENABLE(wired, AC_HELP_STRING([--enable-wired],
+ [enable Ethernet authentication support]),
+ [enable_wired=${enableval}])
+AM_CONDITIONAL(WIRED, test "${enable_wired}" = "yes")
+
AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
[enable internal testing utilities]),
[enable_tools=${enableval}])
diff --git a/wired/main.c b/wired/main.c
@@ -0,0 +1,32 @@
+/*
+ *
+ * Ethernet daemon for Linux
+ *
+ * Copyright (C) 2017-2018 Intel Corporation. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdlib.h>
+
+int main(int argc, char *argv[])
+{
+ return EXIT_SUCCESS;
+}