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)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 13 Sep 2019 20:17:54 +0000 (16:17 -0400)
commit09f36d3a3cd45e226133a3d359e7b8a74b1b3747
treeb62ed8157cf345b3ea0a40b3c6ef1f88ba3feee9
parentc6e10175f5f7e3546f01dd316c439e0964bfcafc
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