From: Mike Frysinger Date: Sat, 17 Jan 2009 18:32:42 +0000 (-0500) Subject: build system: treat all Darwin's alike X-Git-Tag: v2009.01-rc3~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4cda437898f7873752f0201757cd33f12196ce87;p=u-boot 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 --- diff --git a/config.mk b/config.mk index d770f09f93..b1254e9042 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))