mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-26 10:03:52 +08:00
openpilot v0.9.4 release
date: 2023-07-27T18:38:32
master commit: fa310d9e25
This commit is contained in:
14
selfdrive/locationd/SConscript
Normal file
14
selfdrive/locationd/SConscript
Normal file
@@ -0,0 +1,14 @@
|
||||
Import('env', 'common', 'cereal', 'messaging', 'libkf', 'transformations')
|
||||
|
||||
loc_libs = [cereal, messaging, 'zmq', common, 'capnp', 'kj', 'pthread']
|
||||
|
||||
ekf_sym_cc = env.SharedObject("#rednose/helpers/ekf_sym.cc")
|
||||
locationd_sources = ["locationd.cc", "models/live_kf.cc", ekf_sym_cc]
|
||||
lenv = env.Clone()
|
||||
lenv["_LIBFLAGS"] += f' {libkf[0].get_labspath()}'
|
||||
locationd = lenv.Program("locationd", locationd_sources, LIBS=loc_libs + transformations)
|
||||
lenv.Depends(locationd, libkf)
|
||||
|
||||
if File("liblocationd.cc").exists():
|
||||
liblocationd = lenv.SharedLibrary("liblocationd", ["liblocationd.cc"] + locationd_sources, LIBS=loc_libs + transformations)
|
||||
lenv.Depends(liblocationd, libkf)
|
||||
Reference in New Issue
Block a user