The rule building a FIT image from an .its file has had no users since
commit 7269ad4be96b ("ARM: k3: remove beagleplay FIT image").Since the kbuild sync with Linux v6.17 moved dtc-tmp into scripts/Makefile.dtbs, which isn't included for images/, the rule also passes an empty file name to both the preprocessor and mkimage. Remove the rule along with its .gitignore entry instead of fixing it. Assisted-by: Claude:opus-5.5 Signed-off-by: Ahmad Fatoum <[email protected]> --- images/.gitignore | 1 - images/Makefile | 9 --------- 2 files changed, 10 deletions(-) diff --git a/images/.gitignore b/images/.gitignore index 0e0d2fa71859..412587de5188 100644 --- a/images/.gitignore +++ b/images/.gitignore @@ -38,7 +38,6 @@ barebox.sum *.swapped *.rkimg *.imx9img -*.itb *.fit *.missing-firmware *.k3img diff --git a/images/Makefile b/images/Makefile index 6b0feb27659d..2af2d17911fa 100644 --- a/images/Makefile +++ b/images/Makefile @@ -125,15 +125,6 @@ $(obj)/%.pblb: $(obj)/%.pbl FORCE $(obj)/%.s: $(obj)/% FORCE $(call if_changed,disasm) -quiet_cmd_itb = FIT.ITS $@ -cmd_itb = $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) \ - -D'$(subst -,_,$(*F))_dts=1' $(foreach f,$< $(2),-include '$(f)') /dev/null ; \ - $(MKIMAGE) -f $(dtc-tmp) $@ -E \ - cat $(depfile).pre $(depfile).dtc > $(depfile) - -$(obj)/%.itb: $(obj)/%.its FORCE - $(call if_changed,itb) - .SECONDEXPANSION: $(obj)/%.fit: $(obj)/$$(FILE_$$(@F)) $(dtstree)/dtbs-list FORCE $(call if_changed,fit) -- 2.47.3
