mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
plugins: added ofono plugin to build
This commit is contained in:
parent
ebc3304264
commit
5d6118681d
@ -145,6 +145,11 @@ builtin_modules += sim_hardcoded
|
|||||||
builtin_sources += plugins/sim_hardcoded.c
|
builtin_sources += plugins/sim_hardcoded.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if OFONO
|
||||||
|
builtin_modules += ofono
|
||||||
|
builtin_sources += plugins/ofono.c
|
||||||
|
endif
|
||||||
|
|
||||||
unit_tests = unit/test-cmac-aes \
|
unit_tests = unit/test-cmac-aes \
|
||||||
unit/test-hmac-md5 unit/test-hmac-sha1 unit/test-hmac-sha256 \
|
unit/test-hmac-md5 unit/test-hmac-sha1 unit/test-hmac-sha256 \
|
||||||
unit/test-prf-sha1 unit/test-kdf-sha256 \
|
unit/test-prf-sha1 unit/test-kdf-sha256 \
|
||||||
|
@ -53,11 +53,18 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(sim_hardcoded, AC_HELP_STRING([--disable-sim-hardcoded],
|
AC_ARG_ENABLE(sim_hardcoded, AC_HELP_STRING([--disable-sim-hardcoded],
|
||||||
[disable hard coded SIM keys]),
|
[disable hard coded SIM keys]),
|
||||||
[enable_sim_hardcoded=${enableval}])
|
[enable_sim_hardcoded=${enableval}])
|
||||||
AM_CONDITIONAL(SIM_HARDCODED, test "${enable_sim_hardcoded}" != "no")
|
AM_CONDITIONAL(SIM_HARDCODED, test "${enable_sim_hardcoded}" != "no")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(ofono, AC_HELP_STRING([--disable-ofono],
|
||||||
|
[disable ofono support]),
|
||||||
|
[echo "CHECKING"
|
||||||
|
enable_ofono=${enableval}])
|
||||||
|
AM_CONDITIONAL(OFONO, test "${enable_ofono}" != "no")
|
||||||
|
|
||||||
if (test "${prefix}" = "NONE"); then
|
if (test "${prefix}" = "NONE"); then
|
||||||
dnl no prefix and no localstatedir, so default to /var
|
dnl no prefix and no localstatedir, so default to /var
|
||||||
if (test "$localstatedir" = '${prefix}/var'); then
|
if (test "$localstatedir" = '${prefix}/var'); then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user