Hi, Sam With your patch, It really drops the specified files in the root directory of Linux source code but can not remove the files under arch/mips/boot/compressed/. I have kept some temp files (.bin, .lzo...) under arch/mips/boot/compressed/, > diff --git a/arch/mips/boot/compressed/Makefile b/arch/mips/boot/compressed/Makefile > index 790ddd3..80f6de5 100644 > --- a/arch/mips/boot/compressed/Makefile > +++ b/arch/mips/boot/compressed/Makefile > @@ -100,6 +100,4 @@ OBJCOPYFLAGS_vmlinuz.srec := $(OBJCOPYFLAGS) -S -O srec > vmlinuz.srec: vmlinuz > $(call if_changed,objcopy) > > -clean: > -clean-files += *.o \ > - vmlinu* > +clean-files := $(objtree)/vmlinu* So, perhaps we need to reserve the vmlinux*, then we get + clean-files := vmlinu* \ $(objtree)/vmlinu* Best Regards, Wu Zhangjin