History

[PARISC] don't unconditionally override CROSS_COMPILE for 64 bit.

The user may wish to set their own value (for real cross compiles). Since the top level Makefile initialises CROSS_COMPILE to empty by default, we must check it for being empty (rather than for being defined) before we override.

James Bottomley committed 14 years ago

Commit aabb70d1 parent 650275d1 file · +4 −0Browse files

Unified · Split

arch/parisc/Makefile+4−0
@@ -31,7 +31,11 @@ ifdef CONFIG_64BIT · 30 unmodified lines
3131 UTS_MACHINE := parisc64
3232 CHECKFLAGS += -D__LP64__=1 -m64
3333 WIDTH := 64
34+
35+# FIXME: if no default set, should really try to locate dynamically
36+ifeq ($(CROSS_COMPILE),)
3437 CROSS_COMPILE := hppa64-linux-gnu-
38+endif
3539 else # 32-bit
3640 WIDTH :=
3741 endif