devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jes Sorensen <jes.sorensen@gmail.com>
To: devicetree@vger.kernel.org
Cc: tnovak@meta.com, Jes Sorensen <jes@trained-monkey.org>
Subject: [RFC PATCH 0/1] Only build dtc when DTC= is not set on the command line
Date: Fri, 11 Oct 2024 10:05:06 -0400	[thread overview]
Message-ID: <20241011140507.3703348-1-Jes.Sorensen@gmail.com> (raw)

From: Jes Sorensen <jes@trained-monkey.org>

RFC on Android it is quite common to have a prebuilt version of dtc. In
this case one doesn't really want to build dtc in the kernel tree, as it
is unused and to avoid the risk of mixing and matching dtc versions.

This is the simplest fix I see for this. An alternative would be to define
a new DTC_USE_PREBUILT flag.

Thoughts?

Jes


Jes Sorensen (1):
  Skip building dtc if a prebuilt binary is specified via DTC=

 scripts/dtc/Makefile | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.46.1


             reply	other threads:[~2024-10-11 14:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-11 14:05 Jes Sorensen [this message]
2024-10-11 14:05 ` [PATCH 1/1] Skip building dtc if a prebuilt binary is specified via DTC= Jes Sorensen
2024-10-11 22:46   ` Rob Herring
2024-10-14 14:40     ` Jes Sorensen
2024-10-14 14:48       ` Rob Herring
2024-10-14 14:49         ` Jes Sorensen
2024-10-14 15:17           ` Rob Herring

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=20241011140507.3703348-1-Jes.Sorensen@gmail.com \
    --to=jes.sorensen@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jes@trained-monkey.org \
    --cc=tnovak@meta.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).