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

runqemu: Use pda image if sdk image not available for qemu machines

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2120 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-07-05 22:40:07 +00:00
parent e5379100d5
commit a5e790a6fc
2 changed files with 14 additions and 4 deletions
+12 -2
View File
@@ -68,7 +68,12 @@ fi
if [ "$MACHINE" = "qemuarm" ]; then
if [ "$TYPE" = "ext2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
HDIMAGE=$BUILDDIR/tmp/deploy/images/poky-image-sdk-qemuarm.ext2
T=$BUILDDIR/tmp/deploy/images/poky-image-
if [ -x "$T-sdk-qemuarm.ext2" ]; then
HDIMAGE=$T-sdk-qemuarm.ext2
elif [ -x "$T-pda-qemuarm.ext2" ]; then
HDIMAGE=$T-pda-qemuarm.ext2
fi
fi
fi
fi
@@ -95,7 +100,12 @@ if [ "$MACHINE" = "qemux86" ]; then
fi
if [ "$TYPE" = "ext2" ]; then
if [ "x$HDIMAGE" = "x" ]; then
HDIMAGE=$BUILDDIR/tmp/deploy/images/poky-image-sdk-qemux86.ext2
T=$BUILDDIR/tmp/deploy/images/poky-image-
if [ -x "$T-sdk-qemux86.ext2" ]; then
HDIMAGE=$T-sdk-qemux86.ext2
elif [ -x "$T-pda-qemux86.ext2" ]; then
HDIMAGE=$T-pda-qemux86.ext2
fi
fi
fi
CROSSPATH=$BUILDDIR/tmp/cross/i586-poky-linux/bin