diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-09-29 19:19:13 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-02 11:15:35 +0100 |
commit | acc988272b4e74a9ad1e6da5af5b2d208584197b (patch) | |
tree | e9f6139325ad60ebd727ff8a401c1ad9939d5163 /meta/classes/distutils-base.bbclass | |
parent | bfb2906206158748d0be33baf7984cf885756da1 (diff) | |
download | openembedded-core-acc988272b4e74a9ad1e6da5af5b2d208584197b.tar.gz openembedded-core-acc988272b4e74a9ad1e6da5af5b2d208584197b.tar.bz2 openembedded-core-acc988272b4e74a9ad1e6da5af5b2d208584197b.zip |
Cleanup: fix PN == BPN cases
When building target packages, it used to be enought to check for PN == BPN, however
with the multilib configurations, this can lead to subtle errors. Change instances
of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/distutils-base.bbclass')
-rw-r--r-- | 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 c761b3602b..3b43e7629f 100644 --- a/meta/classes/distutils-base.bbclass +++ b/meta/classes/distutils-base.bbclass @@ -1,5 +1,5 @@ DEPENDS += "${@["python-native python", ""][(d.getVar('PACKAGES', True) == '')]}" -RDEPENDS_${PN} += "${@['', 'python-core']['${PN}' == '${BPN}']}" +RDEPENDS_${PN} += "${@['', 'python-core']['${CLASSOVERRIDE}' == 'class-target']}" inherit distutils-common-base pythonnative |