qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] trace: Fix user emulator dependency on trace ob


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] trace: Fix user emulator dependency on trace objects
Date: Tue, 21 Sep 2010 19:47:37 +0000

Thanks, applied.

On Sun, Sep 19, 2010 at 9:28 AM, Andreas Färber <address@hidden> wrote:
> Am 12.09.2010 um 17:21 schrieb Andreas Färber:
>
>> On a clean build, after generating trace.h, make would recurse into
>> *-*-user
>> without a clue how to build ../trace.o (added to $(obj-y) in
>> Makefile.target)
>> since its generation rule is in the main Makefile.
>> The softmmus are seemingly unaffected because the $(TOOLS), which each
>> have
>> a dependency on $(trace-obj-y), are built first for the build-all target.
>>
>> Add a dependency on $(trace-obj-y) for %-user, as done for the qemu-*
>> tools.
>>
>> Let's be paranoid and do the same for %-softmmu while at it, just in case
>> someone messes with $(TOOLS) or calls the Makefile target directly.
>>
>> Signed-off-by: Andreas Färber <address@hidden>
>> Cc: Stefan Hajnoczi <address@hidden>
>> Cc: Prerna Saxena <address@hidden>
>> Cc: Blue Swirl <address@hidden>
>> Cc: Anthony Liguori <address@hidden>
>
> Acked-by: Stefan Weil <address@hidden>
>
> Ping? 7 days, one ack, one thank-you from the original author. Could someone
> please commit or comment please? This fixes a broken build configuration on
> all platforms.
>
> Thanks,
> Andreas
>
>> ---
>> Makefile |    4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/Makefile b/Makefile
>> index ab91d42..090d632 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -80,9 +80,9 @@ include $(SRC_PATH)/Makefile.objs
>> endif
>>
>> $(common-obj-y): $(GENERATED_HEADERS)
>> -$(filter %-softmmu,$(SUBDIR_RULES)): $(common-obj-y) subdir-libdis
>> +$(filter %-softmmu,$(SUBDIR_RULES)): $(trace-obj-y) $(common-obj-y)
>> subdir-libdis
>>
>> -$(filter %-user,$(SUBDIR_RULES)): $(GENERATED_HEADERS) subdir-libdis-user
>> subdir-libuser
>> +$(filter %-user,$(SUBDIR_RULES)): $(GENERATED_HEADERS) $(trace-obj-y)
>> subdir-libdis-user subdir-libuser
>>
>> ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS))
>> romsubdir-%:
>> --
>> 1.7.2.2
>
>



reply via email to

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