Files
dragonpilot/selfdrive/boardd/SConscript

9 lines
518 B
Python
Raw Normal View History

2020-08-13 00:37:05 +00:00
Import('env', 'common', 'cereal', 'messaging', 'cython_dependencies')
2019-12-13 13:03:08 -08:00
2020-08-13 00:37:05 +00:00
env.Program('boardd', ['boardd.cc', 'panda.cc'], LIBS=['usb-1.0', common, cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj'])
2019-12-13 13:03:08 -08:00
env.Library('libcan_list_to_can_capnp', ['can_list_to_can_capnp.cc'])
2020-08-13 00:37:05 +00:00
env.Command(['boardd_api_impl.so', 'boardd_api_impl.cpp'],
cython_dependencies + ['libcan_list_to_can_capnp.a', 'boardd_api_impl.pyx', 'boardd_setup.py'],
"cd selfdrive/boardd && python3 boardd_setup.py build_ext --inplace")