Skip to contentSkip to conversation

build system: treat all Darwin's alike

PATCH New Mike Frysinger 3 participants 4 messages Jan 17, 2009 – Jan 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 config.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
config.mk +2 -2
index d770f09..b1254e9 100644
@@ -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))
Signature · 1 line
1.6.1
#1 lore raw

PATCH 1/1 build system: treat all Darwin's alike

Quoted 3 lines · Mike Frysinger

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.

#2 lore raw

PATCH 1/1 build system: treat all Darwin's alike

Quoted 5 lines · On Saturday 17 January 2009 13:40:33 Jean-Christophe PLAGNIOL-VILLARD wrote:
Quoted 2 lines · Mike Frysinger

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090118/f01956db/attachment.pgp

#3 lore raw

PATCH 1/1 build system: treat all Darwin's alike

In reply to Mike Frysinger

Dear Mike Frysinger,

Quoted 7 lines · In message <[email protected]> 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.

---
 config.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"What if" is a trademark of Hewlett Packard, so stop using it in your
sentences without permission, or risk being sued.