Skip to content

Commit aabb70d

Browse files
James BottomleyJames Bottomley
authored andcommitted
[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. Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
1 parent 650275d commit aabb70d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎arch/parisc/Makefile‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ ifdef CONFIG_64BIT
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

0 commit comments

Comments
 (0)