diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-02-25 23:42:03 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-02-25 23:42:03 +0000 |
commit | 005c51ddc713591a8f461f55f8c844e680a65a90 (patch) | |
tree | 04758c7c31e5f4a6b0c84fe232c5f51b55e2c70e /utils/buildit | |
parent | 08da6365df66abbada3246d01a3d8df869ea9aa3 (diff) |
Add a new "Embedded" makefile target for Apple-style builds.
This one just installs the default build into a different destination directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit')
-rw-r--r-- | utils/buildit/GNUmakefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/buildit/GNUmakefile b/utils/buildit/GNUmakefile index 54577e2ef5..5140e1508a 100644 --- a/utils/buildit/GNUmakefile +++ b/utils/buildit/GNUmakefile @@ -80,6 +80,10 @@ EmbeddedSim: 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 @@ clean: $(OBJROOT) $(SYMROOT) $(DSTROOT): mkdir -p $@ -.PHONY: install installsrc clean EmbeddedHosted EmbeddedSim +.PHONY: install installsrc clean EmbeddedHosted EmbeddedSim Embedded |