mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 06:33:57 +08:00
* Revert "revert tg calib and opencl cleanup (#37113)"
This reverts commit 51312afd3d.
* power draw is a lil higher
* just don't miss a cycle
* fix warp targets
* fix tinygrad dep
12 lines
504 B
Python
12 lines
504 B
Python
Import('env', 'arch', 'messaging', 'common', 'visionipc')
|
|
|
|
libs = [common, messaging, visionipc]
|
|
|
|
if arch != "Darwin":
|
|
camera_obj = env.Object(['cameras/camera_qcom2.cc', 'cameras/camera_common.cc', 'cameras/spectra.cc',
|
|
'cameras/cdm.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)
|