mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Change 'make install' to install tblgen, for better support of out-of-tree targets,
patch by Mikael Lepistö! llvm-svn: 71226
This commit is contained in:
parent
0fd5aea274
commit
5e3bb54910
5
Makefile
5
Makefile
@ -71,10 +71,9 @@ ifeq ($(MAKECMDGOALS),unittests)
|
|||||||
OPTIONAL_DIRS :=
|
OPTIONAL_DIRS :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Don't install utils, examples, or projects they are only used to
|
# Use NO_INSTALL define of the Makefile of each directory for deciding
|
||||||
# build LLVM.
|
# if the directory is installed or not
|
||||||
ifeq ($(MAKECMDGOALS),install)
|
ifeq ($(MAKECMDGOALS),install)
|
||||||
DIRS := $(filter-out utils, $(DIRS))
|
|
||||||
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
|
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
LEVEL = ../..
|
LEVEL = ../..
|
||||||
TOOLNAME = tblgen
|
TOOLNAME = tblgen
|
||||||
NO_INSTALL = 1;
|
|
||||||
USEDLIBS = LLVMSupport.a LLVMSystem.a
|
USEDLIBS = LLVMSupport.a LLVMSystem.a
|
||||||
REQUIRES_EH := 1
|
REQUIRES_EH := 1
|
||||||
REQUIRES_RTTI := 1
|
REQUIRES_RTTI := 1
|
||||||
|
@ -22,4 +22,6 @@ ifeq ($(OS),MingW)
|
|||||||
CPP.Flags += -DGTEST_OS_WINDOWS=1
|
CPP.Flags += -DGTEST_OS_WINDOWS=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
NO_INSTALL = 1
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
Loading…
Reference in New Issue
Block a user