python,python3: allow users to override python args & vars

If users want to define these before including python[3]-package.mk, these
vars will be overridden during the include.
So, override these vars if they haven't been defined.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2019-02-19 11:00:09 +02:00
committed by Jeffery To
parent 5d72e9bf7e
commit 9b36b449dc
2 changed files with 4 additions and 4 deletions

View File

@@ -114,8 +114,8 @@ define Build/Compile/Py3Mod
endef
PYTHON3_PKG_SETUP_DIR ?=
PYTHON3_PKG_SETUP_ARGS:=--single-version-externally-managed
PYTHON3_PKG_SETUP_VARS:=
PYTHON3_PKG_SETUP_ARGS ?= --single-version-externally-managed
PYTHON3_PKG_SETUP_VARS ?=
define Py3Build/Compile/Default
$(foreach pkg,$(HOST_PYTHON3_PACKAGE_BUILD_DEPENDS),