]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
Link bios files when building out of tree
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 17 Jul 2009 09:20:10 +0000 (11:20 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jul 2009 15:58:49 +0000 (10:58 -0500)
When starting a qemu binary directly from the build directory and that
dir is located outside the source files, the search for bios files
fails. Fix this by linking them from the build to the source directory.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index 3f7340907a3c283126ef4b5981f948325d65798d..e9ed09df97d2c95c5eb47d9ab2befce2f5201add 100755 (executable)
--- a/configure
+++ b/configure
@@ -2110,7 +2110,10 @@ if test "$source_path_used" = "yes" ; then
     FILES="Makefile tests/Makefile"
     FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
     FILES="$FILES tests/test-mmap.c"
-    FILES="$FILES pc-bios/optionrom/Makefile"
+    FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps pc-bios/video.x"
+    for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_path/pc-bios/openbios-*; do
+        FILES="$FILES pc-bios/`basename $bios_file`"
+    done
     for dir in $DIRS ; do
             mkdir -p $dir
     done