Fix handling of BUILD_SUFFIX in remote-gdb script
authorThomas Langer <thomas.langer@intel.com>
Thu, 22 Aug 2019 12:21:14 +0000 (12:21 +0000)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:46:18 +0000 (13:46 +0200)
commit76297c345489644a35349a52eb0adf7255de0e13
treef72bb9a91a0474bed95651a28e732ecfb498b0dc
parent32d27a9017b8e9bad50bab085dd0cc3fc5a83e03
Fix handling of BUILD_SUFFIX in remote-gdb script

When CONFIG_BUILD_SUFFIX is enabled, the target-* folders in build_dir
and staging_dir have this suffix in the name, but not the
toolchain directories. When detecting the names for "arch" and "libc",
also accept the suffix and do not use it for the toolchain path.

Signed-off-by: Thomas Langer <thomas.langer@intel.com>
(cherry picked from commit 035906fd05b2e5543cedd9471731043945fdcf13)
scripts/remote-gdb