Skip to content

Commit 5f2483e

Browse files
committed
MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec}
Make doesn't expand shell style "vmlinuz.{32,ecoff,bin,srec}" to the 4 separate files, so none of these files get cleaned up by make clean. List the files separately instead. Fixes: ec33529 ("MIPS: Remove all generated vmlinuz* files on "make clean"") Signed-off-by: James Hogan <jhogan@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/18491/
1 parent 809769a commit 5f2483e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

arch/mips/boot/compressed/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,8 @@ vmlinuz.srec: vmlinuz
133133
uzImage.bin: vmlinuz.bin FORCE
134134
$(call if_changed,uimage,none)
135135

136-
clean-files := $(objtree)/vmlinuz $(objtree)/vmlinuz.{32,ecoff,bin,srec}
136+
clean-files += $(objtree)/vmlinuz
137+
clean-files += $(objtree)/vmlinuz.32
138+
clean-files += $(objtree)/vmlinuz.ecoff
139+
clean-files += $(objtree)/vmlinuz.bin
140+
clean-files += $(objtree)/vmlinuz.srec

0 commit comments

Comments
 (0)