From: Alexey Kardashevskiy Date: Wed, 29 May 2013 13:30:43 +0000 (+1000) Subject: qemu: fix out of tree cross compile X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a585140dd546ffb606ec506b362ab9decf1ab14e;p=qemu.git qemu: fix out of tree cross compile The symlink to "asm" platform linux headers is made in the build tree by the configure script but gcc is not told to look for them there. The patch fixes this. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Michael Tokarev --- diff --git a/configure b/configure index 08ceb437be..d5abf98f96 100755 --- a/configure +++ b/configure @@ -546,7 +546,7 @@ Haiku) if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then audio_possible_drivers="$audio_possible_drivers fmod" fi - QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES" + QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES" ;; esac