mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-26 22:03:55 +08:00
* spectra and tici * master * move the rest * rm stupid indirection * start move * multi cam state is dead * rest is moved * lil more * mv that * lil more * fix pc build * we haven't done rgb for a while * bring this stuff back * fix mac? * no camera in ui! * i remember why we always cut mac * fix mac build --------- Co-authored-by: Comma Device <device@comma.ai>
11 lines
581 B
Python
11 lines
581 B
Python
Import('env', 'arch', 'messaging', 'common', 'gpucommon', 'visionipc')
|
|
|
|
libs = ['m', 'pthread', common, 'jpeg', 'OpenCL', 'yuv', messaging, visionipc, gpucommon, 'atomic']
|
|
|
|
camera_obj = env.Object(['cameras/camera_qcom2.cc', 'cameras/camera_common.cc', 'cameras/camera_util.cc',
|
|
'cameras/spectra.cc', 'sensors/ar0231.cc', 'sensors/ox03c10.cc', 'sensors/os04c10.cc'])
|
|
env.Program('camerad', ['main.cc', camera_obj], LIBS=libs)
|
|
|
|
if GetOption("extras") and arch == "x86_64":
|
|
env.Program('test/test_ae_gray', ['test/test_ae_gray.cc', camera_obj], LIBS=libs)
|