devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] Only build dtc when DTC= is not set on the command line
@ 2024-10-11 14:05 Jes Sorensen
  2024-10-11 14:05 ` [PATCH 1/1] Skip building dtc if a prebuilt binary is specified via DTC= Jes Sorensen
  0 siblings, 1 reply; 7+ messages in thread
From: Jes Sorensen @ 2024-10-11 14:05 UTC (permalink / raw)
  To: devicetree; +Cc: tnovak, Jes Sorensen

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-14 15:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 14:05 [RFC PATCH 0/1] Only build dtc when DTC= is not set on the command line Jes Sorensen
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

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).