summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMichael Ellerman2006-09-30 03:54:09 +0200
committerPaul Mackerras2006-10-10 03:54:26 +0200
commitdcf9065122660f4e3df02a47a75dc702d5531244 (patch)
tree118700d73267535579d128becdfd840dfdfd1238 /arch
parent[POWERPC] Fix xmon IRQ handler for pt_regs removal (diff)
downloadkernel-qcow2-linux-dcf9065122660f4e3df02a47a75dc702d5531244.tar.gz
kernel-qcow2-linux-dcf9065122660f4e3df02a47a75dc702d5531244.tar.xz
kernel-qcow2-linux-dcf9065122660f4e3df02a47a75dc702d5531244.zip
[POWERPC] Fix boot wrapper invocation if CROSS_COMPILE contains spaces
My CROSS_COMPILE is "ccache /opt/compilers/blah", which confuses the boot wrapper script. Quote CROSS_COMPILE and CROSS32_COMPILE so they can safely contain spaces. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 003520b56303..bfd17b145803 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -105,10 +105,10 @@ wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff)
# Bits for building various flavours of zImage
ifneq ($(CROSS32_COMPILE),)
-CROSSWRAP := -C $(CROSS32_COMPILE)
+CROSSWRAP := -C "$(CROSS32_COMPILE)"
else
ifneq ($(CROSS_COMPILE),)
-CROSSWRAP := -C $(CROSS_COMPILE)
+CROSSWRAP := -C "$(CROSS_COMPILE)"
endif
endif