mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-08 15:52:32 +01:00
make: added hardcoded SIM plugin to build
This commit is contained in:
parent
48800e2a7a
commit
074fb7df56
@ -139,6 +139,11 @@ tools_hwsim_SOURCES = tools/hwsim.c src/mpdu.h \
|
|||||||
tools_hwsim_LDADD = ell/libell-internal.la
|
tools_hwsim_LDADD = ell/libell-internal.la
|
||||||
tools_test_runner_LDADD = ell/libell-internal.la
|
tools_test_runner_LDADD = ell/libell-internal.la
|
||||||
|
|
||||||
|
if SIM_HARDCODED
|
||||||
|
builtin_modules += sim_hardcoded
|
||||||
|
builtin_sources += plugins/sim_hardcoded.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,6 +53,11 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie],
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(sim_hardcoded, AC_HELP_STRING([--disable-sim-hardcoded],
|
||||||
|
[disable hard coded SIM keys]),
|
||||||
|
[enable_sim_hardcoded=${enableval}])
|
||||||
|
AM_CONDITIONAL(SIM_HARDCODED, test "${enable_sim_hardcoded}" != "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…
Reference in New Issue
Block a user