summaryrefslogtreecommitdiffstats
path: root/package/pkg-python.mk
diff options
context:
space:
mode:
authorJulien Floret <julien.floret@6wind.com>2016-07-03 00:21:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-03 10:24:02 +0200
commit4bdb067e380e72c3a6cb9c6ccf3791a6cf8661e0 (patch)
tree06af0521c946b2eaa236c3149d06f88b88ca4835 /package/pkg-python.mk
parent6ad939961e8f38b82f5a51db2abd8547af176635 (diff)
downloadbuildroot-4bdb067e380e72c3a6cb9c6ccf3791a6cf8661e0.tar.gz
buildroot-4bdb067e380e72c3a6cb9c6ccf3791a6cf8661e0.zip
infra: remove auto derivation of host dependencies
This feature consists in automatically deducing dependencies of a host package from the dependencies of the target variant. However, it causes some issues, and many host packages need different dependencies than their target variants. Now that host dependencies are explicitly set for all packages, we can remove it. Signed-off-by: Julien Floret <julien.floret@6wind.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-python.mk')
-rw-r--r--package/pkg-python.mk15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/pkg-python.mk b/package/pkg-python.mk
index 9725d24f98..38bc45ffa3 100644
--- a/package/pkg-python.mk
+++ b/package/pkg-python.mk
@@ -138,21 +138,6 @@ else
$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils' or 'setuptools'")
endif
-# The below statement intends to calculate the dependencies of host
-# packages by derivating them from the dependencies of the
-# corresponding target package, after adding the 'host-' prefix in
-# front of the dependencies.
-#
-# However it must be repeated from inner-generic-package, as we need
-# to exclude the python, host-python and host-python-setuptools
-# packages, which are added below in the list of dependencies
-# depending on the package characteristics, and shouldn't be derived
-# automatically from the dependencies of the corresponding target
-# package.
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out host-python host-python3 host-python-setuptools host-skeleton host-toolchain $(1),$$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-
# Target packages need both the python interpreter on the target (for
# runtime) and the python interpreter on the host (for
# compilation). However, host packages only need the python
OpenPOWER on IntegriCloud