meson.build: Make building qrtr-ns opt-in

It's been moved to the kernel since forever..

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
This commit is contained in:
Konrad Dybcio
2024-04-09 19:45:49 +02:00
committed by Konrad Dybcio
parent d9e0ddf06a
commit 8f9b2bc3b6
3 changed files with 21 additions and 12 deletions

View File

@@ -9,17 +9,19 @@ executable('qrtr-cfg',
include_directories : inc,
install : true)
ns_srcs = ['addr.c',
'hash.c',
'map.c',
'ns.c',
'util.c',
'waiter.c']
executable('qrtr-ns',
ns_srcs,
link_with : libqrtr,
include_directories : inc,
install : true)
if with_qrtr_ns.enabled()
ns_srcs = ['addr.c',
'hash.c',
'map.c',
'ns.c',
'util.c',
'waiter.c']
executable('qrtr-ns',
ns_srcs,
link_with : libqrtr,
include_directories : inc,
install : true)
endif
executable('qrtr-lookup',
'lookup.c',