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
31UTS_MACHINE := parisc6431UTS_MACHINE := parisc64
32CHECKFLAGS += -D__LP64__=1 -m6432CHECKFLAGS += -D__LP64__=1 -m64
33WIDTH := 6433WIDTH := 64
34
35# FIXME: if no default set, should really try to locate dynamically
36ifeq ($(CROSS_COMPILE),)
34CROSS_COMPILE := hppa64-linux-gnu-37CROSS_COMPILE := hppa64-linux-gnu-
38endif
35else # 32-bit39else # 32-bit
36WIDTH :=40WIDTH :=
37endif41endif