summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-11-22 13:27:02 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-11-22 13:27:03 -0600
commit9d46bd5714cec6b06bde94868937b95a5de66875 (patch)
tree26a6fea8ed3c59584508bda46616426b04a921ec /meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass
parent592d7981ed53d0a4dd645b711cf9c976ca675bbf (diff)
downloadtalos-openbmc-9d46bd5714cec6b06bde94868937b95a5de66875.tar.gz
talos-openbmc-9d46bd5714cec6b06bde94868937b95a5de66875.zip
python-autotools: add DEPEND=python
This class is used for installing python-based packages, using python. So the packages need both python-native and python. Without this, there is a race condition in the SDK that can cause the package install to be attempted before python itself is installed. Change-Id: Iab1cf149d715e3d68ecb580c5f107d6534b0b484 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass')
-rw-r--r--meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass b/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass
index 5a8e1e2f3..d69eb345e 100644
--- a/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass
+++ b/meta-phosphor/classes/obmc-phosphor-python-autotools.bbclass
@@ -1,6 +1,8 @@
inherit obmc-phosphor-utils
inherit pythonnative
+DEPENDS += "python"
+
export BUILD_SYS
export HOST_SYS
export STAGING_INCDIR
OpenPOWER on IntegriCloud