From f0cee2e578098010b6957c8cbfc2324df42fb0d9 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Sat, 14 May 2011 10:08:51 +0200 Subject: Fix the pc-bios search path for build trees. This patch fixes the routine that looks for the x86 BIOS file(s) when running from the build tree (i.e. typing 'emulator' just after building the full_x86-eng product). Turns out that the files are installed under out/host//usr/share/pc-bios by our build scripts. Change-Id: I51ae849d5cdf130558d05f2386c4175dfea1e054 --- vl-android.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vl-android.c') diff --git a/vl-android.c b/vl-android.c index 2e1f0f9..acde409 100644 --- a/vl-android.c +++ b/vl-android.c @@ -3549,10 +3549,10 @@ static char *find_datadir(const char *argv0) /* Find a likely location for support files using the location of the binary. For installed binaries this will be "$bindir/../share/qemu". When - running from the build tree this will be "$bindir/../pc-bios". + running from the build tree this will be "$bindir/../usr/share/pc-bios". The emulator running from the SDK will find the support files in $bindir/lib/pc-bios. */ #define SHARE_SUFFIX "/share/qemu" -#define BUILD_SUFFIX "/pc-bios" +#define BUILD_SUFFIX "/usr/share/pc-bios" #define SDK_SUFFIX "/lib/pc-bios" static char *find_datadir(const char *argv0) { -- cgit v1.1