[PATCH] Makefile.lib: remove stale migrate_xxx logic from fdtgrep logic
Rasmus Villemoes
rv at rasmusvillemoes.dk
Wed Jun 17 15:12:04 CEST 2026
Commit 6d04828b452 ("dm: Remove pre-schema tag support") removed the
definitions of these migrate_xxx variables, but left behind their use
in the fdtgrep rule, which now makes that somewhat hard to understand.
Signed-off-by: Rasmus Villemoes <rv at rasmusvillemoes.dk>
---
scripts/Makefile.lib | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index d66f1ed13b1..122c8e78204 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -674,12 +674,12 @@ cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \
# The output is typically a much smaller device tree file.
ifeq ($(CONFIG_VPL_BUILD),y)
-fdtgrep_props := -b bootph-all -b bootph-verify $(migrate_vpl)
+fdtgrep_props := -b bootph-all -b bootph-verify
else
ifeq ($(CONFIG_TPL_BUILD),y)
-fdtgrep_props := -b bootph-all -b bootph-pre-sram $(migrate_tpl)
+fdtgrep_props := -b bootph-all -b bootph-pre-sram
else
-fdtgrep_props := -b bootph-all -b bootph-pre-ram $(migrate_spl)
+fdtgrep_props := -b bootph-all -b bootph-pre-ram
endif
endif
@@ -699,7 +699,6 @@ quiet_cmd_fdtgrep = FDTGREP $@
$(objtree)/tools/fdtgrep -r -O dtb - -o $@ \
-P bootph-all -P bootph-pre-ram -P bootph-pre-sram \
-P bootph-verify -P bootph-some-ram \
- $(migrate_all) \
$(addprefix -P ,$(subst $\",,$(CONFIG_OF_SPL_REMOVE_PROPS)))
# fdt_rm_props
--
2.54.0
More information about the U-Boot
mailing list