python,python3: export mk files outside of python package dirs
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 10 Jan 2018 07:29:41 +0000 (09:29 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Wed, 10 Jan 2018 21:01:51 +0000 (23:01 +0200)
commitccdc6bc530444283a510ceb6a50878493fe356f2
tree4bbde4652f654ab7b47611c450d717f67e3c1d43
parent55c0b5ae19afa8d160c6ccf10869c22fd3bd0c03
python,python3: export mk files outside of python package dirs

Since `lang/python` is it's own folder of Python packages
(for both Python 2 & 3), and these build rules are needed
in a lot of packages [especially Python packages],
putting them here makes sense architecturally,
to be shared.

This also helps get rid of the `include_mk` construct
which relies on OpenWrt core to provide, and seems
like a broken design idea that has persisted for a while.
Reason is: it requires that Python 2/3 be built to provide
these mk files for other Python packages,
which seems like a bad idea.

Long-term, there could be an issue where some other feeds
would require these mk files [e.g. telephony] for
some Python packages.
We'll see how we handle this a bit later.

For now we limit this to this feed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
18 files changed:
lang/python/python-host.mk [new file with mode: 0644]
lang/python/python-package-install.sh [new file with mode: 0644]
lang/python/python-package.mk [new file with mode: 0644]
lang/python/python-version.mk [new file with mode: 0644]
lang/python/python/Makefile
lang/python/python/files/python-host.mk [deleted file]
lang/python/python/files/python-package-install.sh [deleted file]
lang/python/python/files/python-package.mk [deleted file]
lang/python/python/files/python-version.mk [deleted file]
lang/python/python3-host.mk [new file with mode: 0644]
lang/python/python3-package-install.sh [new file with mode: 0644]
lang/python/python3-package.mk [new file with mode: 0644]
lang/python/python3-version.mk [new file with mode: 0644]
lang/python/python3/Makefile
lang/python/python3/files/python3-host.mk [deleted file]
lang/python/python3/files/python3-package-install.sh [deleted file]
lang/python/python3/files/python3-package.mk [deleted file]
lang/python/python3/files/python3-version.mk [deleted file]