diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-09-29 21:54:09 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-09 21:54:26 -0400 |
commit | dcf9065122660f4e3df02a47a75dc702d5531244 (patch) | |
tree | 118700d73267535579d128becdfd840dfdfd1238 | |
parent | f583ffce1aac783fd16d5d75cd69ac5ebb8f4933 (diff) |
[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>
-rw-r--r-- | arch/powerpc/boot/Makefile | 4 |
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) | |||
105 | # Bits for building various flavours of zImage | 105 | # Bits for building various flavours of zImage |
106 | 106 | ||
107 | ifneq ($(CROSS32_COMPILE),) | 107 | ifneq ($(CROSS32_COMPILE),) |
108 | CROSSWRAP := -C $(CROSS32_COMPILE) | 108 | CROSSWRAP := -C "$(CROSS32_COMPILE)" |
109 | else | 109 | else |
110 | ifneq ($(CROSS_COMPILE),) | 110 | ifneq ($(CROSS_COMPILE),) |
111 | CROSSWRAP := -C $(CROSS_COMPILE) | 111 | CROSSWRAP := -C "$(CROSS_COMPILE)" |
112 | endif | 112 | endif |
113 | endif | 113 | endif |
114 | 114 | ||