1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Marcin Juszkiewicz
2013-01-25 15:42:26 +01:00
committed by Richard Purdie
parent 1ae72ff809
commit 0380c0f57b
+3 -1
View File
@@ -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
}