[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/8] fix 'no such file' error from make_device_c
From: |
David Ahern |
Subject: |
Re: [Qemu-devel] [PATCH 1/8] fix 'no such file' error from make_device_config.sh |
Date: |
Fri, 14 Jan 2011 08:13:54 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Lightning/1.0b3pre Thunderbird/3.1.7 |
On 01/14/11 03:34, Markus Armbruster wrote:
>>> What about:
>>>
>>> diff --git a/make_device_config.sh b/make_device_config.sh
>>> index 596fc5b..711829c 100644
>>> --- a/make_device_config.sh
>>> +++ b/make_device_config.sh
>>> @@ -18,7 +18,7 @@ process_includes () {
>>>
>>> f=$src
>>> while [ -n "$f" ] ; do
>>> - f=`tr -d '\r' < $f | awk '/^include / {ORS=" "; print "'$src_dir'/" $2}'`
>>> + f=`tr -d '\r' <"$f" | awk '/^include / {print "'$src_dir'/" $2}'`
>>> [ $? = 0 ] || exit 1
>>> all_includes="$all_includes $f"
>>> done
>>
>> That works too.
>
> Care to respin your patch?
done.
>
>> Any idea why the '%/config-devices.mak' rule does not work for a build
>> directory != src directory?
>>
>> e.g., src=/my/qemu.git, build=/tmp/build-qemu
>>
>> x86_64-softmmu/config-devices.mak is not created, so
>> config-all-devices.mak is empty and the build blows up.
>
> Should be debuggable :)
>
> "mkdir bld && cd bld && ./configure --disable-werror && make" works for
> me. config-all-devices.mak has some 80 entries.
And it works for me too. Must have been an 11pm phenomenon.
David
Re: [Qemu-devel] [PATCH 0/8] misc cleanups for x86_64 disabling config settings, Isaku Yamahata, 2011/01/13