[poky] [PATCH] distutils-base bbclass: fix RDEPENDS assignment to only apply to target ${PN}
Koen Kooi
koen at dominion.thruhere.net
Thu Jan 13 12:10:41 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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
index 2e151de..04c117b 100644
--- a/meta/classes/distutils-base.bbclass
+++ b/meta/classes/distutils-base.bbclass
@@ -1,5 +1,5 @@
DEPENDS += "${@["python-native python", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
-RDEPENDS += "python-core"
+RDEPENDS_${PN} += "${@["python-core", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
inherit distutils-common-base
--
1.6.6.1
More information about the poky
mailing list