summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-17 13:32:42 -0500
committerWolfgang Denk <wd@denx.de>2009-01-18 21:08:45 +0100
commit4cda437898f7873752f0201757cd33f12196ce87 (patch)
tree5c9806badf70e0f15345ce5c882493f0bb1bca1a
parentfadad1573fb16c90025f08a2861d6047d093cba7 (diff)
downloadu-boot-imx-4cda437898f7873752f0201757cd33f12196ce87.zip
u-boot-imx-4cda437898f7873752f0201757cd33f12196ce87.tar.gz
u-boot-imx-4cda437898f7873752f0201757cd33f12196ce87.tar.bz2
build system: treat all Darwin's alike
The x86 based version of Darwin behaves the same quirky way as the powerpc Darwin, so only check HOSTOS when setting up Darwin workarounds. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index d770f09..b1254e9 100644
--- a/config.mk
+++ b/config.mk
@@ -46,7 +46,7 @@ PLATFORM_LDFLAGS =
#########################################################################
-ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
+ifeq ($(HOSTOS),darwin)
HOSTCC = cc
else
HOSTCC = gcc
@@ -181,7 +181,7 @@ endif
#
# So far, this is used only by tools/gdb/Makefile.
-ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
+ifeq ($(HOSTOS),darwin)
BFD_ROOT_DIR = /usr/local/tools
else
ifeq ($(HOSTARCH),$(ARCH))