mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 04:13:54 +08:00
* loggerd builds
* codec
* add frame_id cams
* working
* no qcam on tici
* pthread always
Co-authored-by: Tici <robbe@comma.ai>
old-commit-hash: cfcf3f9368
18 lines
507 B
Python
18 lines
507 B
Python
Import('env', 'arch', 'messaging', 'common', 'visionipc')
|
|
|
|
src = ['loggerd.cc', 'logger.cc']
|
|
libs = ['zmq', 'czmq', 'capnp', 'kj', 'z',
|
|
'avformat', 'avcodec', 'swscale', 'avutil',
|
|
'yuv', 'bz2', common, 'json', 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)
|