mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
drivers: move device / console backends to separte dir
In order to stop clobbering the root directory, move all device and console backends to drivers/ subdir. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
This commit is contained in:
30
meson.build
30
meson.build
@@ -65,29 +65,31 @@ if not compiler.has_function('forkpty')
|
||||
server_deps += util_dep
|
||||
endif
|
||||
|
||||
drivers_srcs = ['drivers/alpaca.c',
|
||||
'drivers/cdb_assist.c',
|
||||
'drivers/conmux.c',
|
||||
'drivers/external.c',
|
||||
'drivers/ftdi-gpio.c',
|
||||
'drivers/local-gpio.c',
|
||||
'drivers/qcomlt_dbg.c',
|
||||
]
|
||||
|
||||
if gpiod_dep.version().version_compare('>=2.0')
|
||||
drivers_srcs += ['drivers/local-gpio-v2.c']
|
||||
else
|
||||
drivers_srcs += ['drivers/local-gpio-v1.c']
|
||||
endif
|
||||
|
||||
server_srcs = ['cdba-server.c',
|
||||
'cdb_assist.c',
|
||||
'circ_buf.c',
|
||||
'conmux.c',
|
||||
'device.c',
|
||||
'device_parser.c',
|
||||
'external.c',
|
||||
'fastboot.c',
|
||||
'alpaca.c',
|
||||
'ftdi-gpio.c',
|
||||
'local-gpio.c',
|
||||
'console.c',
|
||||
'qcomlt_dbg.c',
|
||||
'ppps.c',
|
||||
'status.c',
|
||||
'status-cmd.c']
|
||||
|
||||
if gpiod_dep.version().version_compare('>=2.0')
|
||||
server_srcs += ['local-gpio-v2.c']
|
||||
else
|
||||
server_srcs += ['local-gpio-v1.c']
|
||||
endif
|
||||
|
||||
build_server = true
|
||||
foreach d: server_deps
|
||||
if not d.found()
|
||||
@@ -97,7 +99,7 @@ endforeach
|
||||
|
||||
if build_server
|
||||
executable('cdba-server',
|
||||
server_srcs,
|
||||
server_srcs + drivers_srcs,
|
||||
dependencies : server_deps,
|
||||
install : true)
|
||||
elif not server_opt.disabled()
|
||||
|
||||
Reference in New Issue
Block a user