diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-03-05 06:15:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-10 18:14:21 -0800 |
commit | 0c6595a71965e4c1a56902cb7e7ca74f3b469e19 (patch) | |
tree | 7427629b4cb32429ac0112a5467460d5ca2476ae /meta | |
parent | 1697ae6ee225f55057883031cd666f7c3153be2f (diff) | |
download | poky-0c6595a71965e4c1a56902cb7e7ca74f3b469e19.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')
-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 | ||