mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
Fix HOSTARCH handling.
Patch by Mike Frysinger, Mar 05 2007
This commit is contained in:
parent
07b7b0037a
commit
a5284efd12
1 changed files with 1 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -118,7 +118,7 @@ include $(OBJTREE)/include/config.mk
|
|||
export ARCH CPU BOARD VENDOR SOC
|
||||
|
||||
ifndef CROSS_COMPILE
|
||||
ifeq ($(HOSTARCH),ppc)
|
||||
ifeq ($(HOSTARCH),$(ARCH))
|
||||
CROSS_COMPILE =
|
||||
else
|
||||
ifeq ($(ARCH),ppc)
|
||||
|
@ -128,12 +128,8 @@ ifeq ($(ARCH),arm)
|
|||
CROSS_COMPILE = arm-linux-
|
||||
endif
|
||||
ifeq ($(ARCH),i386)
|
||||
ifeq ($(HOSTARCH),i386)
|
||||
CROSS_COMPILE =
|
||||
else
|
||||
CROSS_COMPILE = i386-linux-
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ARCH),mips)
|
||||
CROSS_COMPILE = mips_4KC-
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue