[oe] [meta-oe][PATCH] uclibc_git.bb: inherit gitpkgv to get PV

raj.khem at gmail.com raj.khem at gmail.com
Tue May 17 20:24:50 UTC 2011


From: Khem Raj <raj.khem at gmail.com>

use GITPKGVTAG for PV
Cleanup unused UCLIBC_BASE

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-core/uclibc/uclibc_git.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-core/uclibc/uclibc_git.bb b/meta-oe/recipes-core/uclibc/uclibc_git.bb
index cbc8ab8..05eea00 100644
--- a/meta-oe/recipes-core/uclibc/uclibc_git.bb
+++ b/meta-oe/recipes-core/uclibc/uclibc_git.bb
@@ -6,17 +6,17 @@
 # UCLIBC_BASE can be set in a distro file, but whether this works depends
 # on whether the base patches apply to the selected (SRCDATE) svn release.
 #
-UCLIBC_BASE ?= "0.9.32"
 SRCREV="074930dd7f2a18a7013cdb72cc38136f3be39c40"
-PR_append = "+gitr${SRCPV}"
 
 require uclibc.inc
+inherit gitpkgv
+PV = "${GITPKGVTAG}"
 PR = "${INC_PR}.1"
 PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
 
 #recent versions uclibc require real kernel headers
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-FILESPATHPKG =. "uclibc-git:uclibc-${UCLIBC_BASE}:"
+FILESPATHPKG =. "uclibc-git:"
 
 #as stated above, uclibc needs real kernel-headers
 #however: we can't depend on virtual/kernel when nptl hits due to depends deadlocking ....
-- 
1.7.4.1





More information about the Openembedded-devel mailing list