Makefile.lib: remove stale migrate_xxx logic from fdtgrep logic

Commit 6d04828b45 ("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@rasmusvillemoes.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Rasmus Villemoes
2026-06-30 13:38:12 -06:00
committed by Tom Rini
parent 85a35bcd63
commit 5a49a1dd55
+3 -4
View File
@@ -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