[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH] buildmk.sh: qemu auch konfigurierbar machen



* buildmk.sh: qemu auch ueber config.sh/myconf.sh konfigurierbar machen
---
 buildmk.sh |    4 ++--
 config.sh  |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/buildmk.sh b/buildmk.sh
index 4b40c1b..94453ec 100644
--- a/buildmk.sh
+++ b/buildmk.sh
@@ -247,10 +247,10 @@ image-hd: updateroot
 	build/scripts/image_hd
 	
 test-qemu: image-floppy
-	qemu -serial stdio -fda build/images/floppy.img -boot a -net user -net nic,model=rtl8139 | tee qemu-serial.log
+	$LOST_TOOLS_QEMU -serial stdio -fda build/images/floppy.img -boot a -net user -net nic,model=rtl8139 | tee qemu-serial.log
 
 test-qemu-hd: image-hd
-	qemu -serial stdio -hda build/images/hd.img -net user -net nic,model=rtl8139 | tee qemu-serial.log
+	$LOST_TOOLS_QEMU -serial stdio -hda build/images/hd.img -net user -net nic,model=rtl8139 | tee qemu-serial.log
 
 test-bochs: image-floppy
 	bochs -f bochs.config
diff --git a/config.sh b/config.sh
index ec34f7f..a84916c 100644
--- a/config.sh
+++ b/config.sh
@@ -5,6 +5,7 @@ LOST_TOOLS_PPC=fpc
 LOST_GRUB_STAGESDIR=/boot/grub
 LOST_TOOLS_GRUB=grub
 LOST_TOOLS_MKE2FS=/sbin/mke2fs
+LOST_TOOLS_QEMU=qemu
 
 [ -f  $LOST_BUILDMK_ROOT/myconf.sh ] && source  $LOST_BUILDMK_ROOT/myconf.sh
 
-- 
1.6.0.6