[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2 1/6] make.rule: fix $(obj) to a real rela
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2 1/6] make.rule: fix $(obj) to a real relative path |
Date: |
Mon, 09 Sep 2013 12:41:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 09/09/2013 03:34, Fam Zheng ha scritto:
> On Fri, 09/06 20:19, Lluís Vilanova wrote:
>> Fam Zheng writes:
>> [...]
>>> Because $(obj) here is './block', instead of '../block'. This doesn't
>>> hurt compiling because we basically build all .o from top Makefile,
>>> before entering Makefile.target, but it will affact arriving per-object
>>> libs support.
>>
>> I'm curious. What's the reason to not use recursive make in QEMU?
>>
> I don't know the answer, Paolo?
It predates my involvement by a long time, so I don't know.
But my guess is that whenever directories are not present in the build
tree (e.g. i386-softmmu/hw) we have to create the Makefile in the
configure script. Thus a heavily declarative Makefile style works better.
Paolo
- Re: [Qemu-devel] [RFC PATCH v2 2/6] rule.mak: allow per object cflags and libs, (continued)
[Qemu-devel] [RFC PATCH v2 1/6] make.rule: fix $(obj) to a real relative path, Fam Zheng, 2013/09/06
[Qemu-devel] [RFC PATCH v2 4/6] module: implement module loading function, Fam Zheng, 2013/09/06
[Qemu-devel] [RFC PATCH v2 6/6] qed: build as shared library, Fam Zheng, 2013/09/06
[Qemu-devel] [RFC PATCH v2 5/6] curl: build as shared library, Fam Zheng, 2013/09/06