diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2007-03-06 18:01:47 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-03-06 18:01:47 +0100 |
commit | a5284efd125967675b2e9c6ef7b95832268ad360 (patch) | |
tree | 5bdb698ef66e6b7c5949079046e20e2377e8d0f3 | |
parent | 07b7b0037aac5102939917d7cbe561b5c0d5aa44 (diff) | |
download | u-boot-imx-a5284efd125967675b2e9c6ef7b95832268ad360.zip u-boot-imx-a5284efd125967675b2e9c6ef7b95832268ad360.tar.gz u-boot-imx-a5284efd125967675b2e9c6ef7b95832268ad360.tar.bz2 |
Fix HOSTARCH handling.
Patch by Mike Frysinger, Mar 05 2007
-rw-r--r-- | Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |