aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-10-05 15:30:40 -0700
committerTom Rini <tom_rini@mentor.com>2010-10-05 15:31:07 -0700
commit8377b8ec57f35b9e5b81a74c77f68fd6e02949c8 (patch)
tree86cad9323fc0eba0814f36514d6831a3cd5c815a /classes
parent607ae31d3e5cdbc6b1842f0ad02f1c8037f4b97c (diff)
downloadopenembedded-8377b8ec57f35b9e5b81a74c77f68fd6e02949c8.tar.gz
distutils-base: Only RDEPEND python-core on target packages
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/distutils-base.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/distutils-base.bbclass b/classes/distutils-base.bbclass
index 2e151ded38..59864f70a1 100644
--- a/classes/distutils-base.bbclass
+++ b/classes/distutils-base.bbclass
@@ -1,5 +1,4 @@
DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
-RDEPENDS += "python-core"
+RDEPENDS += "${@['', 'python-core']['${PN}' == '${BPN}']}"
inherit distutils-common-base
-