From: "Michael S. Tsirkin" <mst@redhat.com>
To: Victor Kaplansky <victork@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Stefan Weil" <sw@weilnetz.de>,
qemu-devel@nongnu.org, "Paolo Bonzini" <pbonzini@redhat.com>,
=?UTF-8?q?Alex=20=20Benn=C3=A9e?= <alex.bennee@linaro.org>,
"Richard Henderson" <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH v3 0/2] make: Cleanup and fix of loading of dependency info
Date: Sun, 9 Aug 2015 14:40:39 +0300 [thread overview]
Message-ID: <20150809143935-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <1439113148-21937-1-git-send-email-victork@redhat.com>
On Sun, Aug 09, 2015 at 12:39:45PM +0300, Victor Kaplansky wrote:
> Changes from v2:
>
> Address comment by Paolo Bonzini:
> - Store list of generated hex files in a variable and derive from it
> list of dependences to be included.
>
> Address comment by Alex Bennee and Michael S. Tsirkin:
> - Add a comment about difference between $(@D) and $(*D) in gnu make.
> - Better explanation why touching of some *.dsl sources is necessary.
>
>
> make build can fail when one switches between commits without running
> "make clean".
>
> This is caused by loading old *.d dependency info files and is harmful for
> autogenerated sources with their own includes. This situation may
> significantly slow down the process of git bisect.
>
> These two patches clean things up and fix the issue both for further versions,
> and between old and new commits.
>
> This also replaces my previous patch "[PATCH] make: explicit dependencies for
> ACPI gen sources".
>
> I've tested the fix by validating that lists included by previous "*.d"
> approach and new "patsubst" approach are identical.
>
Looks good to me, though there's a minor coding style nit in patch 2/2.
Anyone has objections to merge this through my tree?
>
> Victor Kaplansky (2):
> make: fix where dependency *.d are stored.
> make: load only required dependency files.
>
> hw/i386/Makefile.objs | 8 +++++++-
> hw/i386/acpi-dsdt.dsl | 1 -
> hw/i386/q35-acpi-dsdt.dsl | 1 +
> rules.mak | 4 ++--
> 4 files changed, 10 insertions(+), 4 deletions(-)
>
> --
> --Victor
prev parent reply other threads:[~2015-08-09 11:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-09 9:39 [Qemu-devel] [PATCH v3 0/2] make: Cleanup and fix of loading of dependency info Victor Kaplansky
2015-08-09 9:39 ` [Qemu-devel] [PATCH v3 1/2] make: fix where dependency *.d are stored Victor Kaplansky
2015-08-09 9:39 ` [Qemu-devel] [PATCH v3 2/2] make: load only required dependency files Victor Kaplansky
2015-08-09 11:39 ` Michael S. Tsirkin
2015-08-09 11:54 ` Peter Maydell
2015-08-09 12:20 ` Michael S. Tsirkin
2015-08-10 10:14 ` Peter Maydell
2015-08-10 10:21 ` Michael S. Tsirkin
2015-08-10 9:46 ` Victor Kaplansky
2015-08-09 11:40 ` Michael S. Tsirkin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150809143935-mutt-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=ehabkost@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=sw@weilnetz.de \
--cc=victork@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).