[PATCH] kbuild: drop ineffectual variable assignments in Makefile.dtbs

Ahmad Fatoum a.fatoum at barebox.org
Tue Jul 15 23:27:38 PDT 2025


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 at 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




More information about the barebox mailing list