mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 00:36:32 +08:00
loggerd: split bootlog to a separate program (#19831)
* bootlog
* blank lines
* move file_exists to util.h
* src = ['loggerd.cc']
* log_init_data
* Revert "src = ['loggerd.cc']"
This reverts commit 18a587023d75b3a3a54f1ceaf9cb31a51640a067.
* add bootlog to .gitignore
* use s->has_qlog instead of true
* add blank lines & remove extern C
old-commit-hash: f973c56a36
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
Import('env', 'arch', 'cereal', 'messaging', 'common', 'visionipc', 'gpucommon')
|
||||
|
||||
src = ['loggerd.cc', 'logger.cc']
|
||||
libs = ['zmq', 'capnp', 'kj', 'z',
|
||||
|
||||
logger_lib = env.Library('logger', ["logger.cc"])
|
||||
src = ['loggerd.cc']
|
||||
libs = [logger_lib, 'zmq', 'capnp', 'kj', 'z',
|
||||
'avformat', 'avcodec', 'swscale', 'avutil',
|
||||
'yuv', 'bz2', 'OpenCL', common, cereal, messaging, visionipc]
|
||||
|
||||
@@ -22,3 +24,4 @@ if arch == "Darwin":
|
||||
env['FRAMEWORKS'] = ['OpenCL']
|
||||
|
||||
env.Program(src, LIBS=libs)
|
||||
env.Program('bootlog.cc', LIBS=libs)
|
||||
|
||||
Reference in New Issue
Block a user