mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-24 21:13:53 +08:00
* Update ref * Compiles * compiles * Refactor rest of libs * import all * small fiex * cleanup import * Need msgq simlink too * Add to openpilot docker too * try repo * Updates * Fix lint * fix docs * Try blank slate * Revert "Try blank slate" This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d. * Maybe scons needs this to clear cache * fix tests * Disable test for now * Update SConstruct Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * Fix whitespace * Write skip normal * small fixes * add test path * Revert repo * linting * whitespace * Bump msgq --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
12 lines
572 B
Python
12 lines
572 B
Python
Import('env', 'envCython', 'common', 'messaging')
|
|
|
|
libs = ['usb-1.0', common, messaging, 'pthread']
|
|
panda = env.Library('panda', ['panda.cc', 'panda_comms.cc', 'spi.cc'])
|
|
|
|
env.Program('pandad', ['main.cc', 'pandad.cc'], LIBS=[panda] + libs)
|
|
env.Library('libcan_list_to_can_capnp', ['can_list_to_can_capnp.cc'])
|
|
|
|
envCython.Program('pandad_api_impl.so', 'pandad_api_impl.pyx', LIBS=["can_list_to_can_capnp", 'capnp', 'kj'] + envCython["LIBS"])
|
|
if GetOption('extras'):
|
|
env.Program('tests/test_pandad_usbprotocol', ['tests/test_pandad_usbprotocol.cc'], LIBS=[panda] + libs)
|