toolchain: handle toolchains with multiple ld*.so.* files
authorJonah Petri <jonah@petri.us>
Tue, 24 Aug 2021 20:38:41 +0000 (16:38 -0400)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 25 Aug 2021 19:50:17 +0000 (21:50 +0200)
commit6f911a17257d945eb3cb5c9c9a966f0e5fca0842
treef2d48477030d1f8f08295375c0678bdea1eb6bab
parenta223dd4aef256bf1c63881353399e4a18f7c43bc
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