mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 13:33:59 +08:00
* add PubMaster & SubMaster remove 'delete msg' remove headers * use constructor to initial all submster * modify drain sockets * fix typo in ssconscript.remove lines no checkValid in loggerd last modify handle_message:event->&event fix type remove heads event to auto * new interface * api changed * Revert "use constructor to initial all submster" This reverts commit 73be7ea46250a325ce41d3a0445e34395a2ae692. * change to new api * revert loggerd * dd * use new PubSub api * update to new interface don't modify loggerd reset panda reset opendbc remove empty lines * switch to new pubMaster * update to the new inteface change remove error code . to -> merge paramsd.cc update panda fix typo simplify fix typo * Fix build * always conflate Co-authored-by: deanlee <deanlee3@gmail.com>
18 lines
517 B
Python
18 lines
517 B
Python
Import('env', 'arch', 'cereal', 'messaging', 'common', 'visionipc')
|
|
|
|
src = ['loggerd.cc', 'logger.cc']
|
|
libs = ['zmq', 'czmq', '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)
|