Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aabb70dc authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 650275db
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -31,7 +31,11 @@ ifdef CONFIG_64BIT
UTS_MACHINE	:= parisc64
CHECKFLAGS	+= -D__LP64__=1 -m64
WIDTH		:= 64

# FIXME: if no default set, should really try to locate dynamically
ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE	:= hppa64-linux-gnu-
endif
else # 32-bit
WIDTH		:=
endif