mirror of https://github.com/commaai/openpilot.git
remove nav sconscript hack (#21768)
* remove nav sconscript hack
* pc files
old-commit-hash: 7a5f30f16b
This commit is contained in:
parent
bbd63268df
commit
28ddda3011
|
@ -44,6 +44,8 @@ jobs:
|
|||
run: |
|
||||
mkdir $STRIPPED_DIR
|
||||
cp -pR --parents $(cat release/files_common) $STRIPPED_DIR
|
||||
cp -pR --parents $(cat release/files_tici) $STRIPPED_DIR
|
||||
cp -pR --parents $(cat release/files_pc) $STRIPPED_DIR
|
||||
cp Dockerfile.openpilot_base $STRIPPED_DIR
|
||||
|
||||
# need this to build on x86
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
phonelibs/mapbox-gl-native-qt/x86_64/**
|
||||
|
||||
phonelibs/qt-plugins/x86_64/**
|
|
@ -5,13 +5,12 @@ Import('qt_env', 'arch', 'common', 'messaging', 'gpucommon', 'visionipc',
|
|||
base_libs = [gpucommon, common, messaging, cereal, visionipc, transformations, 'zmq',
|
||||
'capnp', 'kj', 'm', 'OpenCL', 'ssl', 'crypto', 'pthread'] + qt_env["LIBS"]
|
||||
|
||||
maps = arch in ['larch64', 'x86_64'] and \
|
||||
os.path.exists(File("qt/maps/map.cc").srcnode().abspath)
|
||||
maps = arch in ['larch64', 'x86_64']
|
||||
|
||||
if arch == 'aarch64':
|
||||
base_libs += ['log', 'utils', 'gui', 'ui', 'CB', 'gsl', 'adreno_utils', 'cutils', 'uuid']
|
||||
|
||||
if maps and arch in ['x86_64']:
|
||||
if maps and arch == 'x86_64':
|
||||
rpath = [Dir(f"#phonelibs/mapbox-gl-native-qt/{arch}").srcnode().abspath]
|
||||
qt_env["RPATH"] += rpath
|
||||
|
||||
|
|
Loading…
Reference in New Issue