linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix boot wrapper invocation if CROSS_COMPILE contains spaces
@ 2006-09-30  1:54 Michael Ellerman
  0 siblings, 0 replies; only message in thread
From: Michael Ellerman @ 2006-09-30  1:54 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev

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>
---

 arch/powerpc/boot/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: to-merge/arch/powerpc/boot/Makefile
===================================================================
--- to-merge.orig/arch/powerpc/boot/Makefile
+++ to-merge/arch/powerpc/boot/Makefile
@@ -105,10 +105,10 @@ wrapperbits	:= $(extra-y) $(addprefix $(
 # 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
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-30  1:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-30  1:54 [PATCH] Fix boot wrapper invocation if CROSS_COMPILE contains spaces Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).