You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
499 B
17 lines
499 B
Import('env', 'arch', 'messaging', 'common', 'visionipc')
|
|
|
|
src = ['loggerd.cc', 'logger.cc']
|
|
libs = ['zmq', 'czmq', 'capnp', 'kj', 'z',
|
|
'avformat', 'avcodec', 'swscale', 'avutil',
|
|
'yuv', 'bz2', common, 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)
|
|
|