aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/boot/Makefile8
-rwxr-xr-xarch/powerpc/boot/wrapper2
2 files changed, 8 insertions, 2 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))
170install: $(CONFIGURE) $(image-y) 170install: $(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
173clean-files += $(addprefix $(objtree)/, vmlinux.strip.gz vmlinux.bin.gz) 173# anything not in $(targets)
174clean-files += $(image-) $(initrd-) zImage zImage.initrd 174clean-files += $(image-) $(initrd-) zImage zImage.initrd
175
176# clean up files cached by wrapper
177clean-kernel := vmlinux.strip vmlinux.bin
178clean-kernel += $(addsuffix .gz,$(clean-kernel))
179# If not absolute clean-files are relative to $(obj).
180clean-files += $(addprefix $(objtree)/, $(clean-kernel))
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index f9238f53c1f3..e4566bdfbe00 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -144,7 +144,7 @@ miboot|uboot)
144esac 144esac
145 145
146vmz="$tmpdir/`basename \"$kernel\"`.$ext" 146vmz="$tmpdir/`basename \"$kernel\"`.$ext"
147if [ -z "$cacheit" -o ! -f "$vmz.gz" -o "$vmz.gz" -ot "$kernel" ]; then 147if [ -z "$cacheit" -o ! -f "$vmz$gzip" -o "$vmz$gzip" -ot "$kernel" ]; then
148 ${CROSS}objcopy $objflags "$kernel" "$vmz.$$" 148 ${CROSS}objcopy $objflags "$kernel" "$vmz.$$"
149 149
150 if [ -n "$gzip" ]; then 150 if [ -n "$gzip" ]; then