[poky] [PATCH 1/5] distutils-base bbclass: fix RDEPENDS assignment to only apply to target ${PN}
Koen Kooi
koen at dominion.thruhere.net
Mon Jan 17 07:53:22 PST 2011
When using BBCLASSEXTEND = "native" the recipe gets a spurious dependency on python-core-native, which doesn't exist
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
meta/classes/distutils-base.bbclass | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
index 2e151de..4d5de24 100644
--- a/meta/classes/distutils-base.bbclass
+++ b/meta/classes/distutils-base.bbclass
@@ -1,5 +1,4 @@
DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
-RDEPENDS += "python-core"
+RDEPENDS_${PN} += "${@['', 'python-core']['${PN}' == '${BPN}']}"
inherit distutils-common-base
-
--
1.6.6.1
More information about the poky
mailing list