package/pkg-python.mk: remove _BASE_BUILD_OPTS variable
This variable can just as well be merged into _BASE_BUILD_CMD. This is how it's done for the install opts. And anyway it's only used by distutils and nowhere else. Signed-off-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
0ff5d3df05
commit
ba27abf356
@ -198,8 +198,7 @@ endif
|
||||
ifeq ($$($(2)_SETUP_TYPE),distutils)
|
||||
ifeq ($(4),target)
|
||||
$(2)_BASE_ENV = $$(PKG_PYTHON_DISTUTILS_ENV)
|
||||
$(2)_BASE_BUILD_CMD = setup.py build
|
||||
$(2)_BASE_BUILD_OPTS = $$(PKG_PYTHON_DISTUTILS_BUILD_OPTS)
|
||||
$(2)_BASE_BUILD_CMD = setup.py build $$(PKG_PYTHON_DISTUTILS_BUILD_OPTS)
|
||||
$(2)_BASE_INSTALL_TARGET_CMD = setup.py install --no-compile $$(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS)
|
||||
$(2)_BASE_INSTALL_STAGING_CMD = setup.py install $$(PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS)
|
||||
else
|
||||
@ -335,7 +334,7 @@ define $(2)_BUILD_CMDS
|
||||
$$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \
|
||||
$$(HOST_DIR)/bin/python3 \
|
||||
$$($$(PKG)_BASE_BUILD_CMD) \
|
||||
$$($$(PKG)_BASE_BUILD_OPTS) $$($$(PKG)_BUILD_OPTS))
|
||||
$$($$(PKG)_BUILD_OPTS))
|
||||
endef
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user