qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_config
Date: Tue, 7 Jun 2016 13:09:10 +0100

On 7 June 2016 at 13:05, Paolo Bonzini <address@hidden> wrote:
>
>
> On 07/06/2016 13:58, Peter Maydell wrote:
>> Does it work to add the dependency on the RHS of the pattern rule
>> instead, like:
>>
>> config-%.h-timestamp: config-%.mak $(SRC_PATH)/scripts/create_config
>>         $(call quiet-command, sh $(SRC_PATH)/scripts/create_config <
>> $< > $@, "  GEN   $(TARGET_DIR)config-$*.h")
>
> Yes, that works too.

Cool -- I think it's a bit clearer to add the dependency
in the same place where the rule text invoking the script is.

thanks
-- PMM



reply via email to

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