aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-07-17 11:20:10 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-22 10:58:49 -0500
commit7ea78b7489fed936a1ea2483d0cca152e022cbd0 (patch)
treefde836cdb0b70527ac3b86ca1a8a5dbcf49242d4 /configure
parent99772ae20895e9c72e15f8bef89c60fadd7eb0da (diff)
downloadqemu-7ea78b7489fed936a1ea2483d0cca152e022cbd0.zip
qemu-7ea78b7489fed936a1ea2483d0cca152e022cbd0.tar.gz
qemu-7ea78b7489fed936a1ea2483d0cca152e022cbd0.tar.bz2
Link bios files when building out of tree
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 3f73409..e9ed09d 100755
--- 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