qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] build: Use separate makefile for "trace/"


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH] build: Use separate makefile for "trace/"
Date: Fri, 14 Dec 2012 14:50:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

Il 14/12/2012 14:46, Lluís Vilanova ha scritto:
>>> The thing I like about automake is that it provides a clear set of vars to
>>> manage the per-dir builds, thanks to using a per-dir $(MAKE); but I'm
>>> not sure how the per-target build would be managed (except by having a
>>> separate configure+make for each of them).
>>> Yes, that would be it.
> 
> I'd certainly love to see something along those lines for the sake of makefile
> simplicity.

QEMU is complex enough that I'm not really sure what Automake would buy.

>> > Even an autoconf conversion probably would have to use separate configure
>> > scripts for the global project and for each target.
> If you're willing to pay for a complete recompilation for each target you can
> just have a single configure file.

That's not the problem.  The problem is that Autoconf does not lend well
to the style of the QEMU build system, with many subparts that are
enabled/disabled at configure time.

> Ah, I know that one in gcc 
> 
>   -Wl,--whole-archive foo.a -Wl,--no-whole-archive

Really in ld (that's what -Wl does) and not very portable...

Paolo



reply via email to

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