[U-Boot] [PATCH] 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 --- config.mk | 4 ++-- 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))

On 13:32 Sat 17 Jan , Mike Frysinger wrote:
The x86 based version of Darwin behaves the same quirky way as the powerpc Darwin, so only check HOSTOS when setting up Darwin workarounds.
could more specific about which Darwin?
I use MacOS for years and I gcc installed since MacOS X at min
Best Regards, J.

On Saturday 17 January 2009 13:40:33 Jean-Christophe PLAGNIOL-VILLARD wrote:
On 13:32 Sat 17 Jan , Mike Frysinger wrote:
The x86 based version of Darwin behaves the same quirky way as the powerpc Darwin, so only check HOSTOS when setting up Darwin workarounds.
could more specific about which Darwin?
considering there are only two arches Darwin supports and i suggest we stop requiring ppc, that kind of narrows it down ... -mike

Dear Mike Frysinger,
In message 1232217162-6888-1-git-send-email-vapier@gentoo.org you wrote:
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 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
participants (3)
-
Jean-Christophe PLAGNIOL-VILLARD
-
Mike Frysinger
-
Wolfgang Denk