diff mbox

[v3] qemu: fix out of tree cross compile

Message ID 1369834243-17088-1-git-send-email-aik@ozlabs.ru
State New
Headers show

Commit Message

Alexey Kardashevskiy May 29, 2013, 1:30 p.m. UTC
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 <aik@ozlabs.ru>
---

Reposting it as a top level patch.

---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tokarev May 31, 2013, 11:56 a.m. UTC | #1
29.05.2013 17:30, Alexey Kardashevskiy wrote:
> 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
diff mbox

Patch

diff --git a/configure b/configure
index 5ae7e4a..eca2a20 100755
--- a/configure
+++ b/configure
@@ -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