mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
build/Makefiles: Don't build unittests when ONLY_TOOLS is set.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120196 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
5
Makefile
5
Makefile
@ -99,6 +99,11 @@ ifeq ($(MAKECMDGOALS),install)
|
|||||||
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
|
OPTIONAL_DIRS := $(filter bindings, $(OPTIONAL_DIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Don't build unittests when ONLY_TOOLS is set.
|
||||||
|
ifneq ($(ONLY_TOOLS),)
|
||||||
|
DIRS := $(filter-out unittests, $(DIRS))
|
||||||
|
endif
|
||||||
|
|
||||||
# If we're cross-compiling, build the build-hosted tools first
|
# If we're cross-compiling, build the build-hosted tools first
|
||||||
ifeq ($(LLVM_CROSS_COMPILING),1)
|
ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||||
all:: cross-compile-build-tools
|
all:: cross-compile-build-tools
|
||||||
|
Reference in New Issue
Block a user