Build: allow overriding DEPS_BUILD_DIR and DEPS_INSTALL_DIR for make deps.
This commit is contained in:
parent
920173072e
commit
8f51308dba
16
GNUmakefile
16
GNUmakefile
@ -45,12 +45,18 @@ endif
|
|||||||
|
|
||||||
# Dependencies DIR's
|
# Dependencies DIR's
|
||||||
DEPS_SOURCE_DIR:=$(BLENDER_DIR)/build_files/build_environment
|
DEPS_SOURCE_DIR:=$(BLENDER_DIR)/build_files/build_environment
|
||||||
DEPS_BUILD_DIR:=$(BUILD_DIR)/deps
|
|
||||||
DEPS_INSTALL_DIR:=$(shell dirname "$(BLENDER_DIR)")/lib/$(OS_NCASE)
|
|
||||||
|
|
||||||
ifneq ($(OS_NCASE),darwin)
|
ifndef DEPS_BUILD_DIR
|
||||||
# Add processor type to directory name
|
DEPS_BUILD_DIR:=$(BUILD_DIR)/deps
|
||||||
DEPS_INSTALL_DIR:=$(DEPS_INSTALL_DIR)_$(shell uname -p)
|
endif
|
||||||
|
|
||||||
|
ifndef DEPS_INSTALL_DIR
|
||||||
|
DEPS_INSTALL_DIR:=$(shell dirname "$(BLENDER_DIR)")/lib/$(OS_NCASE)
|
||||||
|
|
||||||
|
ifneq ($(OS_NCASE),darwin)
|
||||||
|
# Add processor type to directory name
|
||||||
|
DEPS_INSTALL_DIR:=$(DEPS_INSTALL_DIR)_$(shell uname -p)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Allow to use alternative binary (pypy3, etc)
|
# Allow to use alternative binary (pypy3, etc)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user