Skip to contentSkip to conversation

ipkg: use INC_PR [1]

PATCH Superseded Paul Menzel 1 participant 1 message Mar 22, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 ipkg: use INC_PR [1]

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

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

---
 recipes/ipkg/ipkg.inc         |    2 ++
 recipes/ipkg/ipkg_0.99.163.bb |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
recipes/ipkg/ipkg.inc +2 -0
index b4ccef3..27912d4 100644
@@ -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 \
recipes/ipkg/ipkg_0.99.163.bb +1 -1
index f89a274..04c06b6 100644
@@ -1,5 +1,5 @@
 include ipkg.inc
-PR = "r9"
+PR = "${INC_PR}.0"
 
 S = "${WORKDIR}/ipkg-${PV}"
 
Signature · 1 line
1.7.4.1