mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-20 09:12:05 +08:00
96d1b876bb
* pandad: remove multi-panda support * lil more * mac * skip mac
11 lines
388 B
Python
11 lines
388 B
Python
Import('env', 'arch', 'common', 'messaging')
|
|
|
|
if arch != "Darwin":
|
|
libs = [common, messaging, 'pthread']
|
|
panda = env.Library('panda', ['panda.cc', 'spi.cc'])
|
|
|
|
env.Program('pandad', ['main.cc', 'pandad.cc', 'panda_safety.cc'], LIBS=[panda] + libs)
|
|
|
|
if GetOption('extras'):
|
|
env.Program('tests/test_pandad_canprotocol', ['tests/test_pandad_canprotocol.cc'], LIBS=[panda] + libs)
|