Skip to contentSkip to conversation

uclibc_git.bb: inherit gitpkgv to get PV

PATCH In review [email protected] 3 participants 7 messages May 17, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uclibc_git.bb: inherit gitpkgv to get PV

From: Khem Raj <[email protected]>

use GITPKGVTAG for PV
Cleanup unused UCLIBC_BASE

---
 meta-oe/recipes-core/uclibc/uclibc_git.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-core/uclibc/uclibc_git.bb +3 -3
index cbc8ab8..05eea00 100644
@@ -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 ....
Signature · 1 line
1.7.4.1
#1 lore raw
Quoted 4 lines · On Tue, May 17, 2011 at 17:24, <[email protected]> wrote:

From: Khem Raj <[email protected]>

use GITPKGVTAG for PV
Cleanup unused UCLIBC_BASE

Is it working for you? here, with freerdp, it doesn't.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
author
#2 lore raw
Quoted 7 lines · Otavio Salvador
Quoted 4 lines · On Tue, May 17, 2011 at 17:24,  <[email protected]> wrote:

From: Khem Raj <[email protected]>

use GITPKGVTAG for PV
Cleanup unused UCLIBC_BASE

Is it working for you? here, with freerdp, it doesn't.xi

hmmm it works fine when I have existing git repo but moment I use a different SRCREV I start getting 0.0.0

Quoted 11 lines

--
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 4 lines · Khem Raj
Quoted 1 line

Is it working for you? here, with freerdp, it doesn't.xi

hmmm it works fine when I have existing git repo but moment I use a different SRCREV I start getting 0.0.0

It used to work quite well with OE (dev) but with OE-core it is failing; I think it might be related to changes on bitbake.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
author
#4 lore raw
Quoted 9 lines · Otavio Salvador
Quoted 4 lines · Khem Raj
Quoted 1 line

Is it working for you? here, with freerdp, it doesn't.xi

hmmm it works fine when I have existing git repo but moment I use a different SRCREV I start getting 0.0.0

It used to work quite well with OE (dev) but with OE-core it is failing; I think it might be related to changes on bitbake.

and FILESPATHPKG need porting over to oe as well

Quoted 10 lines

--
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#5 lore raw
In reply to [email protected]
Quoted 15 lines · On Tue, 2011-05-17 at 13:24 -0700, [email protected] wrote:

From: Khem Raj <[email protected]>

use GITPKGVTAG for PV
Cleanup unused UCLIBC_BASE

---
 meta-oe/recipes-core/uclibc/uclibc_git.bb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-core/uclibc/uclibc_git.bb +0 -0
index cbc8ab8..05eea00 100644

meta-oe/recipes-core/uclibc/uclibc_git.bb line 7

Quoted 2 lines
meta-oe/recipes-core/uclibc/uclibc_git.bb +0 -0
@@ -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.

I guess that comment should also be removed if UCLIBC_BASE is unused.

p.

author
#6 lore raw
Quoted 11 lines · Phil Blundell
Quoted 10 lines · On Tue, 2011-05-17 at 13:24 -0700, [email protected] wrote:

From: Khem Raj <[email protected]>

use GITPKGVTAG for PV
Cleanup unused UCLIBC_BASE

---
 meta-oe/recipes-core/uclibc/uclibc_git.bb |    6 +++---

 1 files changed, 3 insertions(+), 3 deletions(-)
Quoted 9 lines

meta-oe/recipes-core/uclibc/uclibc_git.bb line 7

Quoted 7 lines
meta-oe/recipes-core/uclibc/uclibc_git.bb +0 -0
index cbc8ab8..05eea00 100644
@@ -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.

I guess that comment should also be removed if UCLIBC_BASE is unused

thanks. Will do that in V2 soon

Quoted 9 lines

p.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel