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:
parent
1ae72ff809
commit
0380c0f57b
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue