From: David Gibson <david@gibson.dropbear.id.au>
To: Claudio Fontana <cfontana@suse.de>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
qemu-devel@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Laurent Vivier" <laurent@vivier.eu>,
"Markus Armbruster" <armbru@redhat.com>,
"Alex Bennee" <alex.bennee@linaro.org>
Subject: Re: [PATCH v4 0/2] Makefile: libfdt: build only the strict necessary
Date: Fri, 15 May 2020 23:36:16 +1000 [thread overview]
Message-ID: <20200515133616.GH2183@umbus.fritz.box> (raw)
In-Reply-To: <37d6358a-2a3c-22d3-c998-fc7ff5255231@suse.de>
[-- Attachment #1: Type: text/plain, Size: 3395 bytes --]
On Fri, May 15, 2020 at 09:56:25AM +0200, Claudio Fontana wrote:
> On 5/15/20 9:50 AM, Philippe Mathieu-Daudé wrote:
> > Hi Claudio,
> >
> > On 5/14/20 9:38 PM, Claudio Fontana wrote:
> >> v3 -> v4: NB! only useful when updating to latest dtc (not in QEMU yet)
> >>
> >> * changed the approach to leverage new upstream dtc Makefile,
> >> needs dtc submodule update to include upstream dtc commit
> >> 85e5d839847af54efab170f2b1331b2a6421e647.
> >
> > I don't have this commit locally:
> >
> > fatal: bad object 85e5d839847af54efab170f2b1331b2a6421e647
> >
> > My remote is https://git.qemu.org/git/dtc.git, might it be de-synchronized?
>
> Hi Philippe, maybe that commit is not in the qemu dtc.git yet, only in David's tree at:
>
> https://github.com/dgibson/dtc.git
Oops, I forgot to push it to the master tree at
git://git.kernel.org/pub/scm/utils/dtc/dtc.git
Done now. The qemu.org mirror should update within a day or so.
> >> * LIBFDT_srcdir does not exist anymore in upstream dtc: it is also
> >> not used anymore.
> >
> > Why not include the submodule update in the first patch?
>
> Right, I am not sure how git.qemu.org/git/dtc.git is updated?
>
> I guess once it is, I should include the submodule update.
>
> Thanks!
>
> Claudio
>
> >
> >>
> >> * LIBFDT_lib: need to avoid building libfdt.so at least for now, so pass as
> >> empty to avoid building the .so. This is to avoid breaking existing
> >> trees with objects already compiled without -fPIC.
> >>
> >> * clean: no need to make dtc clean target, every artifact is captured by
> >> global clean rule
> >>
> >> v2 -> v3:
> >>
> >> * changed into a 2 patch series; in the second patch we remove the old
> >> compatibility gunks that were meant for removal some time after 4.1.
> >>
> >> * renamed the libfdt PHONY rule to dtc/all, with the intent to make
> >> existing working trees forward and backward compatible across the change.
> >>
> >> v1 -> v2:
> >>
> >> * fix error generated when running UNCHECKED_GOALS without prior configure,
> >> for example during make docker-image-fedora. Without configure, DSOSUF is
> >> empty, and the module pattern rule in rules.mak that uses this variable
> >> can match too much; provide a default in the Makefile to avoid it.
> >>
> >> * only attempt to build the archive when there is a non-empty list of objects.
> >> This could be done in general for the %.a: pattern in rules.mak, but maybe
> >> there are valid reasons to build an empty .a?
> >>
> >> * removed some intermediate variables that did not add much value
> >> (LIBFDT_srcdir, LIBFDT_archive)
> >>
> >> Tested locally with 3 VPATH configurations (no-, VPATH, VPATH in src subdir),
> >> and with docker-image-fedora, docker-test-debug@fedora that failed before.
> >>
> >> Claudio Fontana (2):
> >> Makefile: libfdt: build only the strict necessary
> >> Makefile: remove old compatibility gunks
> >>
> >> Makefile | 32 ++++++++++++++++----------------
> >> configure | 6 +-----
> >> rules.mak | 2 ++
> >> 3 files changed, 19 insertions(+), 21 deletions(-)
> >>
> >
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2020-05-16 5:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 19:38 [PATCH v4 0/2] Makefile: libfdt: build only the strict necessary Claudio Fontana
2020-05-14 19:38 ` [PATCH v4 1/2] Makefile: dtc: build the libfdt target Claudio Fontana
2020-05-14 19:38 ` [PATCH v4 2/2] Makefile: remove old compatibility gunks Claudio Fontana
2020-05-15 7:50 ` [PATCH v4 0/2] Makefile: libfdt: build only the strict necessary Philippe Mathieu-Daudé
2020-05-15 7:56 ` Claudio Fontana
2020-05-15 8:25 ` Philippe Mathieu-Daudé
2020-05-15 13:36 ` David Gibson [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=20200515133616.GH2183@umbus.fritz.box \
--to=david@gibson.dropbear.id.au \
--cc=alex.bennee@linaro.org \
--cc=armbru@redhat.com \
--cc=cfontana@suse.de \
--cc=laurent@vivier.eu \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).