[oe-commits] [openembedded-core] 25/83: pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS +=

git at git.openembedded.org git at git.openembedded.org
Fri Jul 1 15:31:53 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 834514198f9e39ce323270567e3ce744f763b637
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Thu Jun 23 22:03:48 2016 +0300

    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.
    
    Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/python3native.bbclass | 2 +-
 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 d7b2d35..ef468b3 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 bd239fa..4e0381b 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list