All pastes #986503 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-15 21:03 UTC
rendered paste body
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date:   Tue Aug 14 06:13:08 2007 +0200

    parisc: Don't override CROSS_COMPILE from the environment

diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index 5ddad7b..4e23a8c 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -31,14 +31,13 @@ ifdef CONFIG_64BIT
 UTS_MACHINE    := parisc64
 CHECKFLAGS     += -D__LP64__=1 -m64
 WIDTH          := 64
-CROSS_COMPILE  := hppa64-linux-gnu-
 else # 32-bit
 WIDTH          :=
 endif
 
 # attempt to help out folks who are cross-compiling
 ifeq ($(NATIVE),1)
-CROSS_COMPILE  := hppa$(WIDTH)-linux-
+CROSS_COMPILE  ?= hppa$(WIDTH)-linux-
 endif
 
 OBJCOPY_FLAGS =-O binary -R .note -R .comment -S