3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

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 src/iwd.service
client/iwctl client/iwctl
monitor/iwmon monitor/iwmon
wired/ead
tools/hwsim tools/hwsim
tools/test-runner tools/test-runner
doc/iwmon.1 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 monitor_iwmon_LDADD = ell/libell-internal.la
endif 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 if TOOLS
noinst_PROGRAMS += tools/hwsim noinst_PROGRAMS += tools/hwsim

View File

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

View File

@ -154,6 +154,11 @@ AC_ARG_ENABLE(ofono, AC_HELP_STRING([--enable-ofono],
[enable_ofono=${enableval}]) [enable_ofono=${enableval}])
AM_CONDITIONAL(OFONO, test "${enable_ofono}" = "yes") 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], AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
[enable internal testing utilities]), [enable internal testing utilities]),
[enable_tools=${enableval}]) [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;
}