Patchwork external-csl-toolchain: override PKGV, not PKGV_${PN}

login
register
mail settings
Submitter Christopher Larson
Date March 7, 2012, 4:24 p.m.
Message ID <1331137465-24763-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/22865/
State Accepted
Commit 61d5fa2b7ae6b3ce49747a102b3817c36f6cf85d
Headers show

Comments

Christopher Larson - March 7, 2012, 4:24 p.m.
From: Christopher Larson <chris_larson@mentor.com>

This is needed to ensure that the RDEPENDS_${PN}-dev,
RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect
to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging
issue, as rpm dislikes the recipe PV as PKGV.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
---
 meta/recipes-core/meta/external-csl-toolchain.bb |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)
Richard Purdie - March 8, 2012, 8:13 p.m.
On Wed, 2012-03-07 at 10:24 -0600, Christopher Larson wrote:
> From: Christopher Larson <chris_larson@mentor.com>
> 
> This is needed to ensure that the RDEPENDS_${PN}-dev,
> RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect
> to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging
> issue, as rpm dislikes the recipe PV as PKGV.
> 
> Signed-off-by: Christopher Larson <chris_larson@mentor.com>
> ---
>  meta/recipes-core/meta/external-csl-toolchain.bb |   17 +----------------
>  1 files changed, 1 insertions(+), 16 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb
index 07c3e30..3e820ff 100644
--- a/meta/recipes-core/meta/external-csl-toolchain.bb
+++ b/meta/recipes-core/meta/external-csl-toolchain.bb
@@ -106,22 +106,7 @@  PKG_${PN}-extra-nss = "eglibc-extra-nss"
 PKG_${PN}-thread-db = "eglibc-thread-db"
 PKG_${PN}-pcprofile = "eglibc-pcprofile"
 
-PKGV_${PN} = "${CSL_VER_LIBC}"
-PKGV_${PN}-dev = "${CSL_VER_LIBC}"
-PKGV_${PN}-staticdev = "${CSL_VER_LIBC}"
-PKGV_${PN}-doc = "${CSL_VER_LIBC}"
-PKGV_${PN}-dbg = "${CSL_VER_LIBC}"
-PKGV_${PN}-pic = "${CSL_VER_LIBC}"
-PKGV_${PN}-utils = "${CSL_VER_LIBC}"
-PKGV_${PN}-gconv = "${CSL_VER_LIBC}"
-PKGV_${PN}-extra-nss = "${CSL_VER_LIBC}"
-PKGV_${PN}-thread-db = "${CSL_VER_LIBC}"
-PKGV_${PN}-pcprofile = "${CSL_VER_LIBC}"
-PKGV_catchsegv = "${CSL_VER_LIBC}"
-PKGV_libsegfault = "${CSL_VER_LIBC}"
-PKGV_sln = "${CSL_VER_LIBC}"
-PKGV_nscd = "${CSL_VER_LIBC}"
-PKGV_ldd = "${CSL_VER_LIBC}"
+PKGV = "${CSL_VER_LIBC}"
 PKGV_libgcc = "${CSL_VER_GCC}"
 PKGV_libgcc-dev = "${CSL_VER_GCC}"
 PKGV_libstdc++ = "${CSL_VER_GCC}"