* [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile
@ 2011-01-19 12:44 Mateusz Loskot
2011-01-19 18:07 ` Blue Swirl
0 siblings, 1 reply; 5+ messages in thread
From: Mateusz Loskot @ 2011-01-19 12:44 UTC (permalink / raw)
To: qemu-devel
Hi,
Running ./configure (under MinGW/MSYS) and symlink gives up trying to
create links to non-existing Makefiles in
roms/seabios/Makefile
roms/vgabios/Makefile
Quick fix is to remove those Makefiles from the FILES list:
diff --git a/configure b/configure
index d68f862..92e2527 100755
--- a/configure
+++ b/configure
@@ -3235,7 +3235,6 @@ DIRS="$DIRS fsdev ui"
FILES="Makefile tests/Makefile"
FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
-FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"
for bios_file in $source_path/pc-bios/*.bin $source_path/pc-bios/*.dtb
$source_path/pc-bios/openbios-*; do
FILES="$FILES pc-bios/`basename $bios_file`"
done
Regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile
2011-01-19 12:44 [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile Mateusz Loskot
@ 2011-01-19 18:07 ` Blue Swirl
2011-01-20 10:51 ` Mateusz Loskot
0 siblings, 1 reply; 5+ messages in thread
From: Blue Swirl @ 2011-01-19 18:07 UTC (permalink / raw)
To: Mateusz Loskot; +Cc: qemu-devel
On Wed, Jan 19, 2011 at 12:44 PM, Mateusz Loskot <mateusz@loskot.net> wrote:
> Hi,
>
> Running ./configure (under MinGW/MSYS) and symlink gives up trying to
> create links to non-existing Makefiles in
> roms/seabios/Makefile
> roms/vgabios/Makefile
Those directiories are actually git submodules, when you run 'git
submodule update', they get populated.
Maybe configure should check if the directories are OK and disables
building ROMs if not.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile
2011-01-19 18:07 ` Blue Swirl
@ 2011-01-20 10:51 ` Mateusz Loskot
2011-01-20 10:58 ` Stefan Hajnoczi
0 siblings, 1 reply; 5+ messages in thread
From: Mateusz Loskot @ 2011-01-20 10:51 UTC (permalink / raw)
To: qemu-devel
On 19/01/11 18:07, Blue Swirl wrote:
> On Wed, Jan 19, 2011 at 12:44 PM, Mateusz Loskot<mateusz@loskot.net> wrote:
>> Hi,
>>
>> Running ./configure (under MinGW/MSYS) and symlink gives up trying to
>> create links to non-existing Makefiles in
>> roms/seabios/Makefile
>> roms/vgabios/Makefile
>
> Those directiories are actually git submodules, when you run 'git
> submodule update', they get populated.
Something is not quite working and I don't get anything populated.
Here I tried under MinGW
mloskot@dog /g/src/qemu/_git/master
$ git pull
Already up-to-date.
mloskot@dog /g/src/qemu/_git/master
$ git submodule update
mloskot@dog /g/src/qemu/_git/master
$ ls roms/seabios/
config.mak
I also tested on Linux, same results, nothing pulled.
> Maybe configure should check if the directories are OK and disables
> building ROMs if not.
Generally, if they are optional, I think it's a good idea.
Specifically, I'm nearly completely green about qemu internals, so can't
tell.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile
2011-01-20 10:51 ` Mateusz Loskot
@ 2011-01-20 10:58 ` Stefan Hajnoczi
2011-01-20 14:15 ` Mateusz Loskot
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2011-01-20 10:58 UTC (permalink / raw)
To: Mateusz Loskot; +Cc: qemu-devel
On Thu, Jan 20, 2011 at 10:51:17AM +0000, Mateusz Loskot wrote:
> On 19/01/11 18:07, Blue Swirl wrote:
> >On Wed, Jan 19, 2011 at 12:44 PM, Mateusz Loskot<mateusz@loskot.net> wrote:
> >>Hi,
> >>
> >>Running ./configure (under MinGW/MSYS) and symlink gives up trying to
> >>create links to non-existing Makefiles in
> >>roms/seabios/Makefile
> >>roms/vgabios/Makefile
> >
> >Those directiories are actually git submodules, when you run 'git
> >submodule update', they get populated.
>
> Something is not quite working and I don't get anything populated.
> Here I tried under MinGW
>
> mloskot@dog /g/src/qemu/_git/master
> $ git pull
> Already up-to-date.
>
> mloskot@dog /g/src/qemu/_git/master
> $ git submodule update
>
> mloskot@dog /g/src/qemu/_git/master
> $ ls roms/seabios/
> config.mak
Make sure roms/{vgabios,seabios} are empty directories.
$ git submodule init
$ git submodule update
This should clone the vgabios and seabios repos and checkout the correct
commit. After this completes successfully you should have source trees
under roms/{vgabios,seabios}.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile
2011-01-20 10:58 ` Stefan Hajnoczi
@ 2011-01-20 14:15 ` Mateusz Loskot
0 siblings, 0 replies; 5+ messages in thread
From: Mateusz Loskot @ 2011-01-20 14:15 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel
On 20/01/11 10:58, Stefan Hajnoczi wrote:
> On Thu, Jan 20, 2011 at 10:51:17AM +0000, Mateusz Loskot wrote:
>> On 19/01/11 18:07, Blue Swirl wrote:
>>> On Wed, Jan 19, 2011 at 12:44 PM, Mateusz Loskot<mateusz@loskot.net> wrote:
>>>> Hi,
>>>>
>>>> Running ./configure (under MinGW/MSYS) and symlink gives up trying to
>>>> create links to non-existing Makefiles in
>>>> roms/seabios/Makefile
>>>> roms/vgabios/Makefile
>>>
>>> Those directiories are actually git submodules, when you run 'git
>>> submodule update', they get populated.
>>
>> Something is not quite working and I don't get anything populated.
>> Here I tried under MinGW
>>
>> mloskot@dog /g/src/qemu/_git/master
>> $ git pull
>> Already up-to-date.
>>
>> mloskot@dog /g/src/qemu/_git/master
>> $ git submodule update
>>
>> mloskot@dog /g/src/qemu/_git/master
>> $ ls roms/seabios/
>> config.mak
>
> Make sure roms/{vgabios,seabios} are empty directories.
>
> $ git submodule init
> $ git submodule update
>
> This should clone the vgabios and seabios repos and checkout the correct
> commit. After this completes successfully you should have source trees
> under roms/{vgabios,seabios}.
I forgot about the "init" command. Works now. Thanks!
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-01-20 14:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19 12:44 [Qemu-devel] Missing roms/seabios/Makefile and roms/vgabios/Makefile Mateusz Loskot
2011-01-19 18:07 ` Blue Swirl
2011-01-20 10:51 ` Mateusz Loskot
2011-01-20 10:58 ` Stefan Hajnoczi
2011-01-20 14:15 ` Mateusz Loskot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).