qemu: fix out of tree cross compile
PATCH v3 1/1 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 <[email protected]>
---
Reposting it as a top level patch.
--- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -547,7 +547,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
Signature · 1 line
1.7.10.4
Michael Tokarev
AppliedQuoted 4 lines · Alexey Kardashevskiy
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.
Thanks, applied to the trivial patches queue.
/mjt