mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
c9d9a008b5
try to use i686-darwin to build for arm-eabi, you'll quickly run into several false assumptions that the target OS must be the same as the host OS. These patches split $(OS) into $(HOST_OS) and $(TARGET_OS) to help builds like "make check" and the test-suite able to cross compile. Along the way a target of *-unknown-eabi is defined as "Freestanding" so that TARGET_OS checks have something to work with. Patch by Sandeep Patel! llvm-svn: 79296
21 lines
635 B
Makefile
21 lines
635 B
Makefile
##===- lib/Transforms/Makefile -----------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL = ../..
|
|
PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
# No support for plugins on windows targets
|
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
|
|
PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
|
|
endif
|
|
|
|
include $(LEVEL)/Makefile.common
|