]> code.ossystems Code Review - openembedded-core.git/commit
scripts: oe-run-native, fix *-native directories
authorAdrian Herrera <adrian.herrera@arm.com>
Wed, 13 Jan 2021 13:44:59 +0000 (13:44 +0000)
committerSteve Sakoman <steve@sakoman.com>
Mon, 18 Jan 2021 14:46:16 +0000 (04:46 -1000)
commitd5cb96e3b5501b7349d075c47636902c9ce1c49c
tree691ca96dc3dfa8e3e31d52bddc34b3bc336bdfe9
parent62c5cac25fef9c1ad98b7300f8c52ae21344870e
scripts: oe-run-native, fix *-native directories

This fixes a crash with "find" when running a native tool and *-native
directories do not exist under the binary directory in the sysroot.
This happened because the directory wildcard was passed as part of the
root directory.
The directory wildcard is now passed by "-name", which returns an empty
result if no matching directory.

Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Change-Id: Iba7acd8bbd7e0beb4d25c984f6af7a4fd21486e6
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6c90ed0ad24b7d4f892e22e088b1578824eb1d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/oe-run-native