diff options
Diffstat (limited to 'arch/powerpc/boot/Makefile')
-rw-r--r-- | arch/powerpc/boot/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index be001d923d3f..928b88a55d05 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -170,5 +170,11 @@ $(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y)) | |||
170 | install: $(CONFIGURE) $(image-y) | 170 | install: $(CONFIGURE) $(image-y) |
171 | sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $< | 171 | sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $< |
172 | 172 | ||
173 | clean-files += $(addprefix $(objtree)/, vmlinux.strip.gz vmlinux.bin.gz) | 173 | # anything not in $(targets) |
174 | clean-files += $(image-) $(initrd-) zImage zImage.initrd | 174 | clean-files += $(image-) $(initrd-) zImage zImage.initrd |
175 | |||
176 | # clean up files cached by wrapper | ||
177 | clean-kernel := vmlinux.strip vmlinux.bin | ||
178 | clean-kernel += $(addsuffix .gz,$(clean-kernel)) | ||
179 | # If not absolute clean-files are relative to $(obj). | ||
180 | clean-files += $(addprefix $(objtree)/, $(clean-kernel)) | ||