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 | 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 dae5d4f015..72ff6b85c0 100644 --- a/meta/recipes-core/eglibc/eglibc-package.inc +++ b/meta/recipes-core/eglibc/eglibc-package.inc | |||
@@ -117,7 +117,9 @@ do_evacuate_scripts () { | |||
117 | target=${D}${includedir}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS} | 117 | target=${D}${includedir}/eglibc-scripts-internal-${MULTIMACH_TARGET_SYS} |
118 | mkdir -p $target | 118 | mkdir -p $target |
119 | for i in ${bashscripts}; do | 119 | for i in ${bashscripts}; do |
120 | cp ${D}${bindir}/$i $target/ | 120 | if [ -f ${D}${bindir}/$i ]; then |
121 | cp ${D}${bindir}/$i $target/ | ||
122 | fi | ||
121 | done | 123 | done |
122 | } | 124 | } |
123 | 125 | ||