]> code.ossystems Code Review - openembedded-core.git/commitdiff
pythonnative.bbclass, python3native.bbclass: use DEPENDS_append instead of DEPENDS +=
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Thu, 23 Jun 2016 19:03:48 +0000 (22:03 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2016 15:08:45 +0000 (16:08 +0100)
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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/python3native.bbclass
meta/classes/pythonnative.bbclass

index d7b2d357e91bb4fe3e3dc108d24c6bf34546efad..ef468b3fdefca7322a991efcbe614308a546d9b9 100644 (file)
@@ -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
index bd239fa792f15f7f6d1f4c8a4ecf815fea44fc6e..4e0381b5684762015b43fd99447678efffb12ba0 100644 (file)
@@ -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