Date: Tue, 22 Mar 2011 11:31:32 +0100

[1] 
http://openembedded.org/index.php/Styleguide#PR_variables_with_recipes_that_use_INC_files

Signed-off-by: Paul Menzel <[email protected]>
---
 recipes/ipkg/ipkg.inc         |    2 ++
 recipes/ipkg/ipkg_0.99.163.bb |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/ipkg/ipkg.inc b/recipes/ipkg/ipkg.inc
index b4ccef3..27912d4 100644
--- a/recipes/ipkg/ipkg.inc
+++ b/recipes/ipkg/ipkg.inc
@@ -4,6 +4,8 @@ SECTION = "base"
 LICENSE = "GPL"
 PROVIDES = "virtual/ipkg libipkg"
 
+INC_PR = "r9"
+
 SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + 
bb.data.getVar('PV',d,1).replace('.', '-')} \
         file://update_version_comparision.patch \
         file://enable_debversion.patch \
diff --git a/recipes/ipkg/ipkg_0.99.163.bb b/recipes/ipkg/ipkg_0.99.163.bb
index f89a274..04c06b6 100644
--- a/recipes/ipkg/ipkg_0.99.163.bb
+++ b/recipes/ipkg/ipkg_0.99.163.bb
@@ -1,5 +1,5 @@
 include ipkg.inc
-PR = "r9"
+PR = "${INC_PR}.0"
 
 S = "${WORKDIR}/ipkg-${PV}"
 
-- 
1.7.4.1

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to