qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] ppc64: Fix out-of-tree builds


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH 1/2] ppc64: Fix out-of-tree builds
Date: Sun, 8 May 2011 18:07:41 +0200

Am 03.05.2011 um 12:18 schrieb Alexander Graf:

On 01.05.2011, at 18:31, Andreas Färber wrote:

Someone on Linux should check if a similar patch is necessary for roms/SLOF/:

Mind to just send a patch I can try out with some instruction on how to trigger this? :)

Well, using a build directory other than the source directory is common practice to either try multiple configurations (e.g., ppc and ppc64) or to be able to just `rm -rf' and start from scratch.

git clone git://git.qemu.org/qemu.git
mkdir qemu-something # or mkdir -p qemu/subdir
cd qemu-something
../qemu/configure ... && make
# observe error occurring without my patches
git am ...
# check if any further errors occur with my patches on Linux

During my attempts to get things compiling I did `git submodule init'.

$ git submodule
-d1d6b53b713a2b7c2c25685268fa932d28a4b4c0 roms/SLOF
-7aee315f61aaf1be6d2fff26339f28a1137231a5 roms/ipxe
-cc975646af69f279396d4d5e1379ac6af80ee637 roms/seabios
-19ea12c230ded95928ecaef0db47a82231c2e485 roms/vgabios

roms/{seabios,vgabios}/Makefile were being symlinked in configure, the other two not.

If I
$ git submodule update roms/SLOF
I see there is a roms/SLOF/Makefile, too. But at least with my two patches in place, SLOF is not being built automatically on Darwin. David or Ben will be better suited for instructions on how to build SLOF. :)

Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]