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)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Sep 2019 16:38:05 +0000 (18:38 +0200)
commit035906fd05b2e5543cedd9471731043945fdcf13
treee3aa33b034ee6993915134aeecbf70ab5e741432
parent413c68d120043cd8ff1f4aa057d33c140bfc6bfa
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>
scripts/remote-gdb