Alexandru Ardelean
8c057f39d8
python3: update using python updates as template
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
9e639dbf87
python3: add $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR) to PYTHON3PATH
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
ec10e7e2e4
python3 upgrade to version 3.4.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
84cf76e7a6
python3: sync build rules with python's
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Nicolas Thill
cad9bdbc85
python, python3: fix python*-package.mk
Replace calls to getvar function recently removed
Signed-off-by: Nicolas Thill <nico@openwrt.org>
10 years ago
Alexandru Ardelean
056e565ab6
python3: add _PYTHON_HOST_PLATFORM env var when cross-compiling C extensions
This mostly helps to avoid confusion when modules are cross-compiled.
Otherwise build folders are named with the host's platform name.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
cc6423d57a
python3: add LD and LDSHARED env vars to Build/Compile/Py3Mod
Tells the host Python to use the target's linker.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
3edeed3f4d
python3: add PYTHON3_INC_DIR var to CPPFLAGS
The target's PYTHON3_INC_DIR should take precedence over the host's
include dir when cross-compiling.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
f729ba98c5
python3: export CC + CCSHARED env vars to cross-compile Python C extensions properly
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
e0abcb569b
python: add ac_cv_buggy_getaddrinfo=no to config.site file
Required when IPv6 support gets enabled.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
885fe99cd2
python3: enforce the existence of files in the filespecs
Seems that this allows some goofs, because some files
silently do not get copied and the build succeeds, even though
it shouldn't.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
a1fe8c48aa
python3: reduce bloat by removing *.pyo and *.pyc files
Seems that if you add a package folder this would also
include the compiled python3 files which increases fw size.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Alexandru Ardelean
5cb802cac4
python3: fix python host path
10 years ago
Alexandru Ardelean
72092dabf2
python3: suffix vars with 3
10 years ago
Alexandru Ardelean
dee4a69cea
python3: enforce version assignment
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
10 years ago
Agent 42
d4bc92fad5
renaming python-package.mk to python3-package.mk
10 years ago
Agent 42
5e3393cf94
rename folder to python3
10 years ago