[poky] [PATCH] distutils-base bbclass: fix RDEPENDS assignment to only apply to target ${PN}
Koen Kooi
koen at dominion.thruhere.net
Fri Jan 14 12:53:56 PST 2011
disregard this one, I'll send a better one over the weekend
Op 13 jan 2011, om 21:10 heeft Koen Kooi het volgende geschreven:
> 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