mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
* remove czmq
* remove streaming mode from loggerd
* Add include for usleep
old-commit-hash: a4ccfcffe8
18 lines
509 B
Python
18 lines
509 B
Python
Import('env', 'arch', 'cereal', 'messaging', 'common', 'visionipc')
|
|
|
|
src = ['loggerd.cc', 'logger.cc']
|
|
libs = ['zmq', 'capnp', 'kj', 'z',
|
|
'avformat', 'avcodec', 'swscale', 'avutil',
|
|
'yuv', 'bz2', common, cereal, messaging, visionipc]
|
|
|
|
if arch == "aarch64":
|
|
src += ['encoder.c', 'raw_logger.cc']
|
|
libs += ['OmxVenc', 'OmxCore', 'cutils']
|
|
elif arch == "larch64":
|
|
src += ['encoder.c', 'raw_logger.cc']
|
|
libs += ['OmxVenc', 'OmxCore', 'pthread']
|
|
else:
|
|
libs += ['pthread']
|
|
|
|
env.Program(src, LIBS=libs)
|