[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH] qemu: fix out of tree cross compile
From: |
Alexey Kardashevskiy |
Subject: |
Re: [Qemu-ppc] [PATCH] qemu: fix out of tree cross compile |
Date: |
Tue, 28 May 2013 08:59:34 +1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 |
On 05/28/2013 01:02 AM, Paolo Bonzini wrote:
> Il 27/05/2013 16:12, Alexey Kardashevskiy ha scritto:
>> The symlink to 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 <address@hidden>
>> ---
>> configure | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/configure b/configure
>> index 5ae7e4a..5ba691a 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$(pwd)/linux-headers $QEMU_INCLUDES"
>
> You need to have both directories. Files other than asm/*.h will be
> found in the source path.
So do I need this?
+ QEMU_INCLUDES="-I$(pwd)/linux-headers -I\$(SRC_PATH)/linux-headers
$QEMU_INCLUDES"
--
Alexey