From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRjc3-0002t0-Lt for qemu-devel@nongnu.org; Fri, 17 Jul 2009 05:20:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRjby-0002o2-M1 for qemu-devel@nongnu.org; Fri, 17 Jul 2009 05:20:18 -0400 Received: from [199.232.76.173] (port=49570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRjby-0002nv-H2 for qemu-devel@nongnu.org; Fri, 17 Jul 2009 05:20:14 -0400 Received: from gecko.sbs.de ([194.138.37.40]:18488) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRjbx-0001k7-UY for qemu-devel@nongnu.org; Fri, 17 Jul 2009 05:20:14 -0400 Message-ID: <4A60424A.1020805@siemens.com> Date: Fri, 17 Jul 2009 11:20:10 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] Link bios files when building out of tree List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel 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 --- configure | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 2a6ae40..8fafc0e 100755 --- a/configure +++ b/configure @@ -2086,7 +2086,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