summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-18 00:56:17 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-18 00:56:17 +0000
commit1105cbc2702e87179f0c1e6e9c3474024b6a0205 (patch)
treea41c480636e034be82a3aa3374ee2d74493ea334 /llvm
parent9f2b3db4283ba3bc4017458fb84205bd4a318c17 (diff)
downloadbcm5719-llvm-1105cbc2702e87179f0c1e6e9c3474024b6a0205.tar.gz
bcm5719-llvm-1105cbc2702e87179f0c1e6e9c3474024b6a0205.zip
Even more Apple style build horribleness.
llvm-svn: 79299
Diffstat (limited to 'llvm')
-rwxr-xr-xllvm/utils/buildit/build_llvm15
1 files changed, 12 insertions, 3 deletions
diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm
index e574ff76ca4..9b2d8d3a0c4 100755
--- a/llvm/utils/buildit/build_llvm
+++ b/llvm/utils/buildit/build_llvm
@@ -62,10 +62,19 @@ if [ ! -x $CC ] ; then unset CC ; fi
export CXX=/Developer/usr/bin/llvm-g++
if [ ! -x $CXX ] ; then unset CXX ; fi
-DT_HOME=$DEST_DIR/Developer/usr
-DEST_ROOT="/Developer$DEST_ROOT"
+if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
+ DT_HOME=$DEST_DIR/Developer/Platforms/iPhoneOS.platform/Developer/usr
+ DEST_ROOT="/Developer/Platforms/iPhoneOS.platform/Developer$DEST_ROOT"
+else
+ DT_HOME=$DEST_DIR/Developer/usr
+ DEST_ROOT="/Developer$DEST_ROOT"
+fi
if [ "x$DEVELOPER_BIN" != "x" ]; then
- DT_HOME=$DEST_DIR/$DEVELOPER_DIR/usr
+ if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
+ DT_HOME=$DEST_DIR/Developer/Platforms/iPhoneOS.platform/$DEVELOPER_DIR/usr
+ else
+ DT_HOME=$DEST_DIR/$DEVELOPER_DIR/usr
+ fi
DEST_ROOT="/$DEVELOPER_DIR$DEST_ROOT"
fi
OpenPOWER on IntegriCloud