toolchain: handle toolchains with multiple ld*.so.* files
authorJonah Petri <jonah@petri.us>
Thu, 26 Aug 2021 19:34:24 +0000 (15:34 -0400)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 29 Aug 2021 17:20:23 +0000 (19:20 +0200)
commit92207bc03f2358b28e0fd2cc3a41e40504b5d3d4
tree6d62d49516f4fa6a1c7e5347813dc1fedd74e709
parent8dcd6ae36170282156e0522f9a1e9533d8c4c43d
toolchain: handle toolchains with multiple ld*.so.* files

Some 3rd party vendor toolchains have multiple files which match
these glob patterns.  In this case, the shell script failed.
Switching to use find and xargs solves the issue.

Signed-off-by: Jonah Petri <jonah@petri.us>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
toolchain/helpers.mk