]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
build system: treat all Darwin's alike
authorMike Frysinger <vapier@gentoo.org>
Sat, 17 Jan 2009 18:32:42 +0000 (13:32 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 18 Jan 2009 20:08:45 +0000 (21:08 +0100)
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>
config.mk

index d770f09f93a9d002995cbee1c82822629e77778e..b1254e9042b01d678b2f475aa13b362604de50e8 100644 (file)
--- 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))