Skip to contentSkip to conversation

Missing roms/seabios/Makefile and roms/vgabios/Makefile

Qemu-devel Mateusz Loskot 3 participants 5 messages Jan 19, 2011 – Jan 20, 2011

lore
Share & tools
lore
#0 lore raw

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:

configure +0 -1
index d68f862..92e2527 100755
@@ -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,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#1 lore raw
Quoted 6 lines · Mateusz Loskot

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.

#2 lore raw
Quoted 10 lines · Blue Swirl
Quoted 6 lines · Mateusz Loskot

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.

Quoted 2 lines

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,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
#3 lore raw
Quoted 19 lines · Mateusz Loskot
Quoted 10 lines · Blue Swirl
Quoted 6 lines · Mateusz Loskot

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.
Quoted 6 lines

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

#4 lore raw
Quoted 27 lines · Stefan Hajnoczi
Quoted 19 lines · Mateusz Loskot
Quoted 10 lines · Blue Swirl
Quoted 6 lines · Mateusz Loskot

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.
Quoted 6 lines

mloskot@dog /g/src/qemu/_git/master

$ git submodule update

mloskot@dog /g/src/qemu/_git/master

$ ls roms/seabios/
config.mak
Quoted 8 lines

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,

Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org