distutils-base: Only RDEPEND python-core on target packages
authorTom Rini <tom_rini@mentor.com>
Tue, 5 Oct 2010 22:30:40 +0000 (15:30 -0700)
committerTom Rini <tom_rini@mentor.com>
Tue, 5 Oct 2010 22:31:07 +0000 (15:31 -0700)
Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/distutils-base.bbclass

index 2e151de..59864f7 100644 (file)
@@ -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
-