summaryrefslogtreecommitdiff
path: root/lang/python3/files/python3-package.mk
Commit message (Collapse)AuthorAgeFilesLines
* python3: sync makefiles with python packageAlexandru Ardelean2017-01-041-27/+40
| | | | | | | | | Technically, this just updates build details. No functionality change to package itself. So, no need to increase PKG_RELEASE on this change. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: split `python3-version.mk` from `python3-package.mk`Alexandru Ardelean2016-12-161-5/+1
| | | | | | | | And move \`python3-package.mk\` include, same as in python package. This is mostly to have consistency/similarity between python & python3 packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python, python3: unify HOST_ vars and get rid of HOST_CFLAGSAlexandru Ardelean2016-11-071-2/+3
| | | | | | | --sysconfigdir and --sbindir are obtained from --prefix and --exec-prefix, so no need to have them explicitly Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: avoid use of HOST_BUILD_PREFIXJo-Philipp Wich2016-11-011-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, the python3-package.mk framework relies on HOST_BUILD_PREFIX to refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX variable requires the use of include/host-build.mk which in turn includes python3-package.mk, leading to target redefinition errors. In order to provide a global, uniform way to refer to the host staging directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points to $(STAGING_DIR)/host for now with the purpose of eventually being able to relocate that directory in the future. This commit changes python3-package.mk to ... - stop including include/host-build.mk (revert of #3423) - replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG) - warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is unavailable The fallback code will ensure that the python host build infrastructure continues to work properly on older OpenWrt and LEDE versions until the STAGING_DIR_HOSTPKG is fully settled in and can be removed some time in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* python,python3: include host-build.mk in python-host.mk & python3-package.mkAlexandru Ardelean2016-10-311-0/+3
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: use default prefix for host installMatthias Schiffer2016-10-041-2/+2
| | | | | | Also fixes a few incorrect "$(STAGING_DIR_HOST)/host" paths. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* python3: upgrade to version 3.5.2Alexandru Ardelean2016-09-131-1/+1
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: do not allow packaging of windows exe filesAlexandru Ardelean2016-06-271-2/+2
| | | | | | Thanks to @ryzhovau for reporting. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: revert $(STAGING_DIR)/host to $(STAGING_DIR_HOST) changeAlexandru Ardelean2016-04-151-2/+2
| | | | | | | | | Also, override all prefix args in the HOST_CONFIGURE_ARGS so that this works fine on CC/15.05. There are some changes in core regarding package builds that require this. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: upgrade to version 3.5.1Alexandru Ardelean2016-04-141-4/+4
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with ↵Felix Fietkau2016-01-201-2/+2
| | | | | | changes in trunk Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* python3: Port changes from python-package.mk to python3-package.mkFlorian Fieber2015-11-191-1/+11
| | | | | | | - Add configure arguments for distutils path detection - Add '_python_*' env vars to host python Signed-off-by: Florian Fieber <florian@florianfieber.de>
* python3: upgrade to version 3.5.0Alexandru Ardelean2015-09-161-2/+5
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: upgrade to version 3.4.3Alexandru Ardelean2015-03-141-1/+1
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: update using python updates as templateAlexandru Ardelean2015-01-191-3/+12
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: add $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR) to PYTHON3PATHAlexandru Ardelean2014-12-091-1/+3
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3 upgrade to version 3.4.2Alexandru Ardelean2014-11-281-1/+1
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: sync build rules with python'sAlexandru Ardelean2014-11-271-2/+12
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python, python3: fix python*-package.mkNicolas Thill2014-10-231-1/+1
| | | | | | Replace calls to getvar function recently removed Signed-off-by: Nicolas Thill <nico@openwrt.org>
* python3: add _PYTHON_HOST_PLATFORM env var when cross-compiling C extensionsAlexandru Ardelean2014-10-201-0/+1
| | | | | | | 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>
* python3: add LD and LDSHARED env vars to Build/Compile/Py3ModAlexandru Ardelean2014-10-201-1/+3
| | | | | | Tells the host Python to use the target's linker. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: add PYTHON3_INC_DIR var to CPPFLAGSAlexandru Ardelean2014-10-201-1/+1
| | | | | | | 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>
* python3: export CC + CCSHARED env vars to cross-compile Python C extensions ↵Alexandru Ardelean2014-10-201-0/+2
| | | | | | properly Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: enforce the existence of files in the filespecsAlexandru Ardelean2014-10-201-0/+4
| | | | | | | | 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>
* python3: reduce bloat by removing *.pyo and *.pyc filesAlexandru Ardelean2014-10-201-0/+1
| | | | | | | 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>
* python3: fix python host pathAlexandru Ardelean2014-10-151-1/+1
|
* python3: suffix vars with 3Alexandru Ardelean2014-10-151-18/+18
|
* python3: enforce version assignmentAlexandru Ardelean2014-10-151-2/+2
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* renaming python-package.mk to python3-package.mkAgent 422014-10-131-0/+78