mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] kbuild: drop ineffectual variable assignments in Makefile.dtbs
@ 2025-07-16  6:27 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2025-07-16  6:27 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

We don't define, multi-search or real-search, so variables using them
are always empty. So drop them to avoid confusion.
We can bring them back and fix them, when we start applying overlays
at build time.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 scripts/Makefile.dtbs | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/scripts/Makefile.dtbs b/scripts/Makefile.dtbs
index 046361c20a6a..7b5b9e1d16ee 100644
--- a/scripts/Makefile.dtbs
+++ b/scripts/Makefile.dtbs
@@ -3,19 +3,9 @@
 # If CONFIG_OF_ALL_DTBS is enabled, all DT blobs are built
 dtb-$(CONFIG_OF_ALL_DTBS) += $(dtb-)
 
-# Composite DTB (i.e. DTB constructed by overlay)
-multi-dtb-y := $(call multi-search, $(dtb-y), .dtb, -dtbs)
-# Primitive DTB compiled from *.dts
-real-dtb-y := $(call real-search, $(dtb-y), .dtb, -dtbs)
-# Base DTB that overlay is applied onto
-base-dtb-y := $(filter %.dtb, $(call real-search, $(multi-dtb-y), .dtb, -dtbs))
-
 dtb-y           := $(addprefix $(obj)/, $(dtb-y))
-multi-dtb-y     := $(addprefix $(obj)/, $(multi-dtb-y))
-real-dtb-y      := $(addprefix $(obj)/, $(real-dtb-y))
 
 always-y        += $(dtb-y)
-targets         += $(real-dtb-y)
 
 # dtbs-list
 # ---------------------------------------------------------------------------
-- 
2.39.5




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-16  6:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-16  6:27 [PATCH] kbuild: drop ineffectual variable assignments in Makefile.dtbs Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox