mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
build: Add option to disable the wireless daemon binary
This commit is contained in:
parent
a3454f5d82
commit
706f0775c3
16
Makefile.am
16
Makefile.am
@ -8,11 +8,6 @@ builtin_sources =
|
||||
|
||||
noinst_LTLIBRARIES = ell/libell-internal.la
|
||||
|
||||
if DBUS_POLICY
|
||||
dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
|
||||
dist_dbus_data_DATA = src/iwd-dbus.conf
|
||||
endif
|
||||
|
||||
ell_sources = ell/ell.h ell/private.h ell/missing.h \
|
||||
ell/util.h ell/util.c \
|
||||
ell/test.h ell/test.c \
|
||||
@ -72,6 +67,11 @@ bin_PROGRAMS =
|
||||
libexec_PROGRAMS =
|
||||
noinst_PROGRAMS =
|
||||
|
||||
if DBUS_POLICY
|
||||
dbus_datadir = @DBUS_DATADIR@/dbus-1/system.d
|
||||
dist_dbus_data_DATA =
|
||||
endif
|
||||
|
||||
if SYSTEMD_SERVICE
|
||||
systemd_unitdir = @SYSTEMD_UNITDIR@
|
||||
systemd_unit_DATA =
|
||||
@ -80,6 +80,7 @@ dbus_busdir = @DBUS_BUSDIR@
|
||||
dbus_bus_DATA =
|
||||
endif
|
||||
|
||||
if DAEMON
|
||||
libexec_PROGRAMS += src/iwd
|
||||
|
||||
src_iwd_SOURCES = src/main.c linux/nl80211.h \
|
||||
@ -137,12 +138,17 @@ builtin_modules += ofono
|
||||
builtin_sources += plugins/ofono.c
|
||||
endif
|
||||
|
||||
if DBUS_POLICY
|
||||
dist_dbus_data_DATA += src/iwd-dbus.conf
|
||||
endif
|
||||
|
||||
if SYSTEMD_SERVICE
|
||||
src_iwd_DEPENDENCIES += src/iwd.service
|
||||
|
||||
systemd_unit_DATA += src/iwd.service
|
||||
dbus_bus_DATA += src/net.connman.iwd.service
|
||||
endif
|
||||
endif
|
||||
|
||||
if CLIENT
|
||||
bin_PROGRAMS += client/iwctl
|
||||
|
@ -77,6 +77,11 @@ AC_CHECK_HEADERS(linux/types.h linux/if_alg.h)
|
||||
AC_CHECK_HEADERS_ONCE(execinfo.h)
|
||||
AC_CHECK_LIB(execinfo, backtrace)
|
||||
|
||||
AC_ARG_ENABLE([daemon], AC_HELP_STRING([--disable-daemon],
|
||||
[don't install iwd system daemon]),
|
||||
[enable_daemon=${enableval}])
|
||||
AM_CONDITIONAL(DAEMON, test "${enable_daemon}" != "no")
|
||||
|
||||
AC_ARG_ENABLE([client], AC_HELP_STRING([--disable-client],
|
||||
[don't install iwctl client utility]),
|
||||
[enable_client=${enableval}])
|
||||
|
Loading…
Reference in New Issue
Block a user