fix the build when CONFIG_QEMU is specified by the user
authorStefano Stabellini <sstabellini@xensource.com>
Tue, 13 Sep 2011 14:46:47 +0000 (15:46 +0100)
committerStefano Stabellini <sstabellini@xensource.com>
Tue, 13 Sep 2011 14:46:47 +0000 (15:46 +0100)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
scripts/git-checkout.sh

index aec1aad9631104868ce376d76527109fc4bc3ce0..dd6c74efddb09dadd0101b9e914f593443d40b91 100755 (executable)
@@ -30,7 +30,7 @@ set -e
 cd $DIR
 # is this qemu-xen-traditional?
 if test -f $ROOT/xen-setup; then
-       $ROOT/xen-setup $IOEMU_CONFIGURE_CROSS
+       QEMU_ROOT=$ROOT $ROOT/xen-setup $IOEMU_CONFIGURE_CROSS
 # is this qemu-xen?
 elif test -f $ROOT/configure; then
        cd $ROOT