diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-03-05 06:15:52 +0000 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-03-10 21:43:03 -0800 |
commit | ff5680b8f1c66f62ac679537c59cbd7411b35fb3 (patch) | |
tree | 5fff7423723e66cd6d58aee8c8242ec0318bd542 /meta/classes/distutils-base.bbclass | |
parent | 111c268fbba33defac807c0cc3b1937133b961e5 (diff) | |
download | poky-ff5680b8f1c66f62ac679537c59cbd7411b35fb3.tar.gz |
distutils-base: Only RDEPEND python-core on target packages
* fixes ie setuptools, without this patch it RDEPENDs on python-core-native, which is not RPROVIDED by anything
* imported from OE 8377b8ec57f35b9e5b81a74c77f68fd6e02949c8
(From OE-Core rev: 65317f21736293cc4eeb9a404e9f01043df7565d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/distutils-base.bbclass')
-rw-r--r-- | meta/classes/distutils-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass index 2e151ded38..e84b0fcc5a 100644 --- a/meta/classes/distutils-base.bbclass +++ b/meta/classes/distutils-base.bbclass | |||
@@ -1,5 +1,5 @@ | |||
1 | DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" | 1 | DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" |
2 | RDEPENDS += "python-core" | 2 | RDEPENDS_${PN} += "${@['', 'python-core']['${PN}' == '${BPN}']}" |
3 | 3 | ||
4 | inherit distutils-common-base | 4 | inherit distutils-common-base |
5 | 5 | ||