Commit 7ea78b7489fed936a1ea2483d0cca152e022cbd0
Committed by
Anthony Liguori
1 parent
99772ae2
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>
Showing
1 changed file
with
4 additions
and
1 deletions
configure
... | ... | @@ -2110,7 +2110,10 @@ if test "$source_path_used" = "yes" ; then |
2110 | 2110 | FILES="Makefile tests/Makefile" |
2111 | 2111 | FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit" |
2112 | 2112 | FILES="$FILES tests/test-mmap.c" |
2113 | - FILES="$FILES pc-bios/optionrom/Makefile" | |
2113 | + FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps pc-bios/video.x" | |
2114 | + for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb $source_path/pc-bios/openbios-*; do | |
2115 | + FILES="$FILES pc-bios/`basename $bios_file`" | |
2116 | + done | |
2114 | 2117 | for dir in $DIRS ; do |
2115 | 2118 | mkdir -p $dir |
2116 | 2119 | done | ... | ... |