fix unused dt entry on android (#2160)

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 9418b710a7
commatwo_master
Adeeb Shihadeh 5 years ago committed by GitHub
parent f374da3da2
commit bbf6042c5a
  1. 6
      SConstruct
  2. 2
      selfdrive/modeld/SConscript

@ -44,7 +44,6 @@ if arch == "aarch64" or arch == "larch64":
libpath = [ libpath = [
"/usr/lib", "/usr/lib",
"/data/data/com.termux/files/usr/lib",
"/system/vendor/lib64", "/system/vendor/lib64",
"/system/comma/usr/lib", "/system/comma/usr/lib",
"#phonelibs/nanovg", "#phonelibs/nanovg",
@ -62,11 +61,12 @@ if arch == "aarch64" or arch == "larch64":
else: else:
libpath += [ libpath += [
"#phonelibs/snpe/aarch64", "#phonelibs/snpe/aarch64",
"#phonelibs/libyuv/lib" "#phonelibs/libyuv/lib",
"/system/vendor/lib64"
] ]
cflags = ["-DQCOM", "-mcpu=cortex-a57"] cflags = ["-DQCOM", "-mcpu=cortex-a57"]
cxxflags = ["-DQCOM", "-mcpu=cortex-a57"] cxxflags = ["-DQCOM", "-mcpu=cortex-a57"]
rpath = ["/system/vendor/lib64"] rpath = []
if QCOM_REPLAY: if QCOM_REPLAY:
cflags += ["-DQCOM_REPLAY"] cflags += ["-DQCOM_REPLAY"]

@ -1,7 +1,7 @@
Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc') Import('env', 'arch', 'cereal', 'messaging', 'common', 'gpucommon', 'visionipc')
lenv = env.Clone() lenv = env.Clone()
libs = [cereal, messaging, common, 'OpenCL', 'SNPE', 'capnp', 'zmq', 'kj', 'yuv', gpucommon, visionipc] libs = [cereal, messaging, common, 'OpenCL', 'SNPE', 'symphony-cpu', 'capnp', 'zmq', 'kj', 'yuv', gpucommon, visionipc]
TEST_THNEED = False TEST_THNEED = False

Loading…
Cancel
Save