build: Add skeleton for Ethernet authentication daemon

This commit is contained in:
Marcel Holtmann 2018-09-14 13:47:51 +02:00
parent 8da33905f4
commit 0071ecef8b
5 changed files with 47 additions and 0 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ src/iwd
src/iwd.service
client/iwctl
monitor/iwmon
wired/ead
tools/hwsim
tools/test-runner
doc/iwmon.1

View File

@ -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

View File

@ -11,6 +11,7 @@ fi
--localstatedir=/var \
--enable-sim-hardcoded \
--enable-ofono \
--enable-wired \
--enable-tools \
--disable-dbus-policy \
--disable-systemd-service $*

View File

@ -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}])

32
wired/main.c Normal file
View File

@ -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;
}