[llvm-branch-commits] [cfe-branch] r102575 - /cfe/branches/Apple/williamson-IB/Makefile

Daniel Dunbar daniel at zuster.org
Wed Apr 28 18:08:17 PDT 2010


Author: ddunbar
Date: Wed Apr 28 20:08:17 2010
New Revision: 102575

URL: http://llvm.org/viewvc/llvm-project?rev=102575&view=rev
Log:
Override install location when doing cross builds.

Modified:
    cfe/branches/Apple/williamson-IB/Makefile

Modified: cfe/branches/Apple/williamson-IB/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/williamson-IB/Makefile?rev=102575&r1=102574&r2=102575&view=diff
==============================================================================
--- cfe/branches/Apple/williamson-IB/Makefile (original)
+++ cfe/branches/Apple/williamson-IB/Makefile Wed Apr 28 20:08:17 2010
@@ -61,6 +61,11 @@
 $(error "invalid setting for clang driver mode: '$(Clang_Driver_Mode)'")
 endif
 
+# Additional build logic when building as a cross compiler.
+ifeq ($(MAKECMDGOALS),install-cross)
+INSTALL_LOCATION := /
+endif
+
 # Set destination information.
 ifneq ($(INSTALL_LOCATION),)
 Install_Root := $(INSTALL_LOCATION)





More information about the llvm-branch-commits mailing list