[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] 答复: Re: [PATCH] trace: fix trace-events-all dependencies i
From: |
Lin Ma |
Subject: |
[Qemu-devel] 答复: Re: [PATCH] trace: fix trace-events-all dependencies in Makefile.objs |
Date: |
Mon, 13 Feb 2017 03:08:41 -0700 |
Yeah, I just noticed, Thank you.
>>> "Daniel P. Berrange" <address@hidden> 2017/2/13 星期一 下午 5:38 >>>
On Mon, Feb 13, 2017 at 05:27:09PM +0800, Lin Ma wrote:
> It causes that file trace-events-all isn't generated during build, make
> install reports 'No such file or directory'. The patch fixes it.
>
> Signed-off-by: Lin Ma <address@hidden>
> ---
> trace/Makefile.objs | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/trace/Makefile.objs b/trace/Makefile.objs
> index 7de840a..8e5e85a 100644
> --- a/trace/Makefile.objs
> +++ b/trace/Makefile.objs
> @@ -17,7 +17,7 @@ $(BUILD_DIR)/trace-events-all: $(trace-events-files)
>
> $(obj)/generated-helpers-wrappers.h:
> $(obj)/generated-helpers-wrappers.h-timestamp
> @cmp $< $@ >/dev/null 2>&1 || cp $< $@
> -$(obj)/generated-helpers-wrappers.h-timestamp: $(trace-events-files)
> $(BUILD_DIR)/config-host.mak $(tracetool-y)
> +$(obj)/generated-helpers-wrappers.h-timestamp: $(BUILD_DIR)/trace-events-all
> $(BUILD_DIR)/config-host.mak $(tracetool-y)
This dependancy change is not right. The correct fix is here
https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg00959.html
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o-
http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|