|
|
@ -166,6 +166,10 @@ else: |
|
|
|
if arch != "Darwin": |
|
|
|
if arch != "Darwin": |
|
|
|
ldflags += ["-Wl,--as-needed"] |
|
|
|
ldflags += ["-Wl,--as-needed"] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable swaglog include in submodules |
|
|
|
|
|
|
|
cflags += ["-DSWAGLOG"] |
|
|
|
|
|
|
|
cxxflags += ["-DSWAGLOG"] |
|
|
|
|
|
|
|
|
|
|
|
# change pythonpath to this |
|
|
|
# change pythonpath to this |
|
|
|
lenv["PYTHONPATH"] = Dir("#").path |
|
|
|
lenv["PYTHONPATH"] = Dir("#").path |
|
|
|
|
|
|
|
|
|
|
@ -344,6 +348,17 @@ if GetOption("clazy"): |
|
|
|
|
|
|
|
|
|
|
|
Export('env', 'qt_env', 'arch', 'real_arch', 'SHARED', 'USE_WEBCAM') |
|
|
|
Export('env', 'qt_env', 'arch', 'real_arch', 'SHARED', 'USE_WEBCAM') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SConscript(['selfdrive/common/SConscript']) |
|
|
|
|
|
|
|
Import('_common', '_gpucommon', '_gpu_libs') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if SHARED: |
|
|
|
|
|
|
|
common, gpucommon = abspath(common), abspath(gpucommon) |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
common = [_common, 'json11'] |
|
|
|
|
|
|
|
gpucommon = [_gpucommon] + _gpu_libs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Export('common', 'gpucommon') |
|
|
|
|
|
|
|
|
|
|
|
# cereal and messaging are shared with the system |
|
|
|
# cereal and messaging are shared with the system |
|
|
|
SConscript(['cereal/SConscript']) |
|
|
|
SConscript(['cereal/SConscript']) |
|
|
|
if SHARED: |
|
|
|
if SHARED: |
|
|
@ -354,18 +369,7 @@ else: |
|
|
|
messaging = [File('#cereal/libmessaging.a')] |
|
|
|
messaging = [File('#cereal/libmessaging.a')] |
|
|
|
visionipc = [File('#cereal/libvisionipc.a')] |
|
|
|
visionipc = [File('#cereal/libvisionipc.a')] |
|
|
|
|
|
|
|
|
|
|
|
Export('cereal', 'messaging') |
|
|
|
Export('cereal', 'messaging', 'visionipc') |
|
|
|
|
|
|
|
|
|
|
|
SConscript(['selfdrive/common/SConscript']) |
|
|
|
|
|
|
|
Import('_common', '_gpucommon', '_gpu_libs') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if SHARED: |
|
|
|
|
|
|
|
common, gpucommon = abspath(common), abspath(gpucommon) |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
common = [_common, 'json11'] |
|
|
|
|
|
|
|
gpucommon = [_gpucommon] + _gpu_libs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Export('common', 'gpucommon', 'visionipc') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build rednose library and ekf models |
|
|
|
# Build rednose library and ekf models |
|
|
|
|
|
|
|
|
|
|
|