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
This commit is contained in:
Bob Wilson 2011-02-25 23:42:03 +00:00
parent 08da6365df
commit 005c51ddc7

View File

@ -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