aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/boot/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 113af8877d60..1dc7f2bb2b96 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -76,7 +76,7 @@ $(obj)/zImage.lds $(obj)/zImage.coff.lds: $(obj)/%: $(srctree)/$(src)/%.S
76 @cp $< $@ 76 @cp $< $@
77 77
78clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \ 78clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
79 empty.c zImage zImage.coff.lds zImage.lds zImage.sandpoint 79 empty.c zImage.coff.lds zImage.lds
80 80
81quiet_cmd_bootcc = BOOTCC $@ 81quiet_cmd_bootcc = BOOTCC $@
82 cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $< 82 cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $<
@@ -177,6 +177,7 @@ ifeq ($(CONFIG_PPC32),y)
177image-$(CONFIG_PPC_PMAC) += zImage.coff zImage.miboot 177image-$(CONFIG_PPC_PMAC) += zImage.coff zImage.miboot
178endif 178endif
179 179
180initrd- := $(patsubst zImage%, zImage.initrd%, $(image-n) $(image-))
180initrd-y := $(patsubst zImage%, zImage.initrd%, $(image-y)) 181initrd-y := $(patsubst zImage%, zImage.initrd%, $(image-y))
181targets += $(image-y) $(initrd-y) 182targets += $(image-y) $(initrd-y)
182 183
@@ -188,6 +189,5 @@ $(obj)/zImage.initrd: $(addprefix $(obj)/, $(initrd-y))
188install: $(CONFIGURE) $(image-y) 189install: $(CONFIGURE) $(image-y)
189 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $< 190 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $<
190 191
191clean-files += $(addprefix $(objtree)/, $(obj-boot) vmlinux.strip.gz) 192clean-files += $(addprefix $(objtree)/, vmlinux.strip.gz vmlinux.bin.gz)
192clean-files += $(addprefix $(objtree)/, $(obj-boot) vmlinux.bin.gz) 193clean-files += $(image-) $(initrd-) zImage zImage.initrd
193clean-files += $(image-)