Files
onepilot/selfdrive/pandad/SConscript
github-actions[bot] 82ab34db76 sunnypilot v2026.001.000 release
date: 2026-04-21T21:10:39
master commit: 18406e77ee
2026-04-21 21:10:42 +08:00

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)