diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2013-01-25 15:42:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-27 13:53:34 +0000 |
commit | 0380c0f57b298845374604746bef298aee5c6e6d (patch) | |
tree | 15d5c4a0d57febca5551e9aa70e6db75a5581f3f /meta | |
parent | 1ae72ff8095b1d63249dcab8eefe653567d69429 (diff) | |
download | ast2050-yocto-poky-0380c0f57b298845374604746bef298aee5c6e6d.zip ast2050-yocto-poky-0380c0f57b298845374604746bef298aee5c6e6d.tar.gz |
eglibc: fix evacuate_scripts for external toolchains
Not every external toolchain has mtrace/sotruss/xtrace scripts so check
their existance first.
(From OE-Core rev: 06ea50973a4446053d1ecac5b8e4cf425c8df5b1)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-package.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc index dae5d4f..72ff6b8 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc @@ -117,7 +117,9 @@ do_evacuate_scripts () { target=${D}${includedir}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS} mkdir -p $target for i in ${bashscripts}; do - cp ${D}${bindir}/$i $target/ + if [ -f ${D}${bindir}/$i ]; then + cp ${D}${bindir}/$i $target/ + fi done } |