[oe] [PATCH 3/3] ipkg: use INC_PR [1]
Paul Menzel
paulepanter at users.sourceforge.net
Tue Mar 22 11:05:31 UTC 2011
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 <paulepanter at users.sourceforge.net>
---
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110322/841f55e2/attachment-0002.sig>
More information about the Openembedded-devel
mailing list