summaryrefslogtreecommitdiff
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-09-29 19:19:13 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-02 11:15:35 +0100
commitacc988272b4e74a9ad1e6da5af5b2d208584197b (patch)
treee9f6139325ad60ebd727ff8a401c1ad9939d5163 /meta/recipes-support
parentbfb2906206158748d0be33baf7984cf885756da1 (diff)
downloadopenembedded-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/recipes-support')
-rw-r--r--meta/recipes-support/apr/apr-util_1.4.1.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.4.1.bb b/meta/recipes-support/apr/apr-util_1.4.1.bb
index 0516bc4acc..238af97a53 100644
--- a/meta/recipes-support/apr/apr-util_1.4.1.bb
+++ b/meta/recipes-support/apr/apr-util_1.4.1.bb
@@ -9,7 +9,7 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42"
-PR = "r1"
+PR = "r2"
SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.gz \
file://configfix.patch \
@@ -33,7 +33,7 @@ inherit autotools lib_package binconfig
OE_BINCONFIG_EXTRA_MANGLE = " -e 's:location=source:location=installed:'"
do_configure_append() {
- if [ "${PN}" == "${BPN}" ]; then
+ if [ "${CLASSOVERRIDE}" = "class-target" ]; then
cp ${STAGING_DATADIR}/apr/apr_rules.mk ${S}/build/rules.mk
fi
}