mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
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>
This commit is contained in:
parent
fadad1573f
commit
4cda437898
@ -46,7 +46,7 @@ PLATFORM_LDFLAGS =
|
|||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
|
ifeq ($(HOSTOS),darwin)
|
||||||
HOSTCC = cc
|
HOSTCC = cc
|
||||||
else
|
else
|
||||||
HOSTCC = gcc
|
HOSTCC = gcc
|
||||||
@ -181,7 +181,7 @@ endif
|
|||||||
#
|
#
|
||||||
# So far, this is used only by tools/gdb/Makefile.
|
# So far, this is used only by tools/gdb/Makefile.
|
||||||
|
|
||||||
ifeq ($(HOSTOS)-$(HOSTARCH),darwin-ppc)
|
ifeq ($(HOSTOS),darwin)
|
||||||
BFD_ROOT_DIR = /usr/local/tools
|
BFD_ROOT_DIR = /usr/local/tools
|
||||||
else
|
else
|
||||||
ifeq ($(HOSTARCH),$(ARCH))
|
ifeq ($(HOSTARCH),$(ARCH))
|
||||||
|
Loading…
Reference in New Issue
Block a user