mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
build: Add skeleton for Ethernet authentication daemon
This commit is contained in:
parent
8da33905f4
commit
0071ecef8b
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,6 +22,7 @@ src/iwd
|
||||
src/iwd.service
|
||||
client/iwctl
|
||||
monitor/iwmon
|
||||
wired/ead
|
||||
tools/hwsim
|
||||
tools/test-runner
|
||||
doc/iwmon.1
|
||||
|
@ -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
|
||||
|
||||
|
@ -11,6 +11,7 @@ fi
|
||||
--localstatedir=/var \
|
||||
--enable-sim-hardcoded \
|
||||
--enable-ofono \
|
||||
--enable-wired \
|
||||
--enable-tools \
|
||||
--disable-dbus-policy \
|
||||
--disable-systemd-service $*
|
||||
|
@ -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
32
wired/main.c
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user