diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-06-23 22:03:48 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:22:43 +0100 |
commit | b84875f4234c0fc03b2b9279518329e24964908f (patch) | |
tree | 69ab287b83c6241f27ac4cc38f533c42ab0b819d /meta/classes | |
parent | 98121ad2a5fdf65a65b1e3aed07945b7eda0720e (diff) | |
download | openembedded-core-contrib-b84875f4234c0fc03b2b9279518329e24964908f.tar.gz |
pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS +=
Otherwise -native variants of recipes that use these classes don't get a proper python[3]-native
dependency for some reason.
(From OE-Core rev: 834514198f9e39ce323270567e3ce744f763b637)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/python3native.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/pythonnative.bbclass | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass index d7b2d357e9..ef468b3fde 100644 --- a/meta/classes/python3native.bbclass +++ b/meta/classes/python3native.bbclass @@ -2,7 +2,7 @@ inherit python3-dir PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" EXTRANATIVEPATH += "${PYTHON_PN}-native" -DEPENDS += " ${PYTHON_PN}-native " +DEPENDS_append = " ${PYTHON_PN}-native " # python-config and other scripts are using distutils modules # which we patch to access these variables diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass index bd239fa792..4e0381b568 100644 --- a/meta/classes/pythonnative.bbclass +++ b/meta/classes/pythonnative.bbclass @@ -5,7 +5,7 @@ PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" # PYTHON_EXECUTABLE is used by cmake PYTHON_EXECUTABLE="${PYTHON}" EXTRANATIVEPATH += "${PYTHON_PN}-native" -DEPENDS += " ${PYTHON_PN}-native " +DEPENDS_append = " ${PYTHON_PN}-native " # python-config and other scripts are using distutils modules # which we patch to access these variables |