toolchain-external: fix find_sysroot
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 1 Aug 2019 14:53:36 +0000 (16:53 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 1 Aug 2019 15:35:22 +0000 (17:35 +0200)
commit0de9a53a340321de5d51b4092181d157c3b539ef
tree276764e87c1c37d79b459302b0ffe76f46b9ff41
parentaa4474e999295c55744243379009621fcb06ae75
toolchain-external: fix find_sysroot

Commit 23c0e97b29a (toolchain-external: anchor sysroot regex with /)
tried to make the find-sysroot work more consistently, especially for
toolchains where the C library is located in a sub-directory, like the
"Realtek mips toolchain".

After that patch, the '/' that was trailing in the returned path got
removed now. This in turn breaks the Codesourcery toolchain.

We fix that by appending the now-missing trailing '/'.

Fixes:
http://autobuild.buildroot.net/results/9284d571668148febce23d96a9c0a97a6b2b43dc

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: 陈小 刚 <shawn_chen@realsil.com.cn>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
toolchain/toolchain-external/pkg-toolchain-external.mk