mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Select an ARM-hosted cross build with a separate makefile target instead of
a magic project name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103125 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -49,6 +49,9 @@ endif
|
||||
# Default to not install libLTO.dylib.
|
||||
INSTALL_LIBLTO := no
|
||||
|
||||
# Default to do a native build, not a cross-build for an ARM host.
|
||||
ARM_HOSTED_BUILD := no
|
||||
|
||||
ifndef RC_ProjectSourceVersion
|
||||
RC_ProjectSourceVersion = 9999
|
||||
endif
|
||||
@@ -63,8 +66,12 @@ install: $(OBJROOT) $(SYMROOT) $(DSTROOT)
|
||||
$(SRC)/utils/buildit/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
|
||||
$(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) \
|
||||
$(ENABLE_ASSERTIONS) $(LLVM_OPTIMIZED) $(INSTALL_LIBLTO) \
|
||||
$(ARM_HOSTED_BUILD) \
|
||||
$(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion)
|
||||
|
||||
EmbeddedHosted:
|
||||
$(MAKE) ARM_HOSTED_BUILD=yes install
|
||||
|
||||
# installhdrs does nothing, because the headers aren't useful until
|
||||
# the compiler is installed.
|
||||
installhdrs:
|
||||
@@ -113,4 +120,4 @@ clean:
|
||||
$(OBJROOT) $(SYMROOT) $(DSTROOT):
|
||||
mkdir -p $@
|
||||
|
||||
.PHONY: install installsrc clean
|
||||
.PHONY: install installsrc clean EmbeddedHosted
|
||||
|
Reference in New Issue
Block a user