[llvm-commits] [llvm] r126533 - /llvm/trunk/utils/buildit/GNUmakefile

Bob Wilson bob.wilson at apple.com
Fri Feb 25 15:42:03 PST 2011


Author: bwilson
Date: Fri Feb 25 17:42:03 2011
New Revision: 126533

URL: http://llvm.org/viewvc/llvm-project?rev=126533&view=rev
Log:
Add a new "Embedded" makefile target for Apple-style builds.
This one just installs the default build into a different destination directory.

Modified:
    llvm/trunk/utils/buildit/GNUmakefile

Modified: llvm/trunk/utils/buildit/GNUmakefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/buildit/GNUmakefile?rev=126533&r1=126532&r2=126533&view=diff
==============================================================================
--- llvm/trunk/utils/buildit/GNUmakefile (original)
+++ llvm/trunk/utils/buildit/GNUmakefile Fri Feb 25 17:42:03 2011
@@ -80,6 +80,10 @@
 	export MACOSX_DEPLOYMENT_TARGET=`sw_vers -productVersion`; \
 	$(MAKE) IOS_SIM_BUILD=yes PREFIX=$(SDKROOT)/usr/local install
 
+Embedded:
+	ARM_PLATFORM=`xcodebuild -version -sdk iphoneos PlatformPath` && \
+	$(MAKE) DSTROOT=$(DSTROOT)$$ARM_PLATFORM install
+
 # installhdrs does nothing, because the headers aren't useful until
 # the compiler is installed.
 installhdrs:
@@ -128,4 +132,4 @@
 $(OBJROOT) $(SYMROOT) $(DSTROOT):
 	mkdir -p $@
 
-.PHONY: install installsrc clean EmbeddedHosted EmbeddedSim
+.PHONY: install installsrc clean EmbeddedHosted EmbeddedSim Embedded





More information about the llvm-commits mailing list