mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
build: Add configuration for building internal utilities
This commit is contained in:
parent
f2d4b9afbd
commit
8da33905f4
@ -179,6 +179,7 @@ monitor_iwmon_SOURCES = monitor/main.c linux/nl80211.h \
|
||||
monitor_iwmon_LDADD = ell/libell-internal.la
|
||||
endif
|
||||
|
||||
if TOOLS
|
||||
noinst_PROGRAMS += tools/hwsim
|
||||
|
||||
tools_hwsim_SOURCES = tools/hwsim.c src/mpdu.h \
|
||||
@ -186,7 +187,9 @@ tools_hwsim_SOURCES = tools/hwsim.c src/mpdu.h \
|
||||
src/storage.h src/storage.c \
|
||||
src/common.h src/common.c
|
||||
tools_hwsim_LDADD = ell/libell-internal.la
|
||||
endif
|
||||
|
||||
if TOOLS
|
||||
noinst_PROGRAMS += tools/test-runner
|
||||
|
||||
tools_test_runner_SOURCES = tools/test-runner.c
|
||||
|
@ -11,5 +11,6 @@ fi
|
||||
--localstatedir=/var \
|
||||
--enable-sim-hardcoded \
|
||||
--enable-ofono \
|
||||
--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(tools, AC_HELP_STRING([--enable-tools],
|
||||
[enable internal testing utilities]),
|
||||
[enable_tools=${enableval}])
|
||||
AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes")
|
||||
|
||||
AC_ARG_ENABLE([docs], AC_HELP_STRING([--enable-docs],
|
||||
[build documentation and manual pages]),
|
||||
[enable_docs=${enableval}])
|
||||
|
Loading…
Reference in New Issue
Block a user