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

build: Move plugin conditionals closer to the daemon sources

This commit is contained in:
Marcel Holtmann 2018-09-14 13:44:40 +02:00
parent a01bbcfc19
commit f2d4b9afbd
2 changed files with 11 additions and 10 deletions

View File

@ -119,6 +119,16 @@ src_iwd_SOURCES = src/main.c linux/nl80211.h \
src_iwd_LDADD = ell/libell-internal.la -ldl
src_iwd_DEPENDENCIES = ell/libell-internal.la
if SIM_HARDCODED
builtin_modules += sim_hardcoded
builtin_sources += plugins/sim_hardcoded.c
endif
if OFONO
builtin_modules += ofono
builtin_sources += plugins/ofono.c
endif
if SYSTEMD_SERVICE
src_iwd_DEPENDENCIES += src/iwd.service
@ -181,15 +191,6 @@ noinst_PROGRAMS += tools/test-runner
tools_test_runner_SOURCES = tools/test-runner.c
tools_test_runner_LDADD = ell/libell-internal.la
if SIM_HARDCODED
builtin_modules += sim_hardcoded
builtin_sources += plugins/sim_hardcoded.c
endif
if OFONO
builtin_modules += ofono
builtin_sources += plugins/ofono.c
endif
unit_tests = unit/test-cmac-aes \

View File

@ -9,7 +9,7 @@ fi
--enable-debug \
--prefix=/usr \
--localstatedir=/var \
--enable-ofono \
--enable-sim-hardcoded \
--enable-ofono \
--disable-dbus-policy \
--disable-systemd-service $*