[oe-commits] Chris Larson : expat: use INC_PR, set acpaths

git version control git at git.openembedded.org
Thu Oct 21 02:01:28 UTC 2010


Module: openembedded.git
Branch: darwin
Commit: 8708532de0c060714856c7cf211d86202296f3a5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8708532de0c060714856c7cf211d86202296f3a5

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Oct 20 12:28:13 2010 -0700

expat: use INC_PR, set acpaths

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 recipes/expat/expat.inc       |    2 ++
 recipes/expat/expat_1.95.6.bb |    3 +--
 recipes/expat/expat_1.95.7.bb |    2 +-
 recipes/expat/expat_2.0.1.bb  |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes/expat/expat.inc b/recipes/expat/expat.inc
index b254f08..bc56828 100644
--- a/recipes/expat/expat.inc
+++ b/recipes/expat/expat.inc
@@ -11,3 +11,5 @@ export LTCC = "${CC}"
 
 inherit autotools
 
+acpaths =+ "-I${S}/conftools"
+INC_PR = "r3"
diff --git a/recipes/expat/expat_1.95.6.bb b/recipes/expat/expat_1.95.6.bb
index 64eb2a7..aaf6a07 100644
--- a/recipes/expat/expat_1.95.6.bb
+++ b/recipes/expat/expat_1.95.6.bb
@@ -1,6 +1,5 @@
 require expat.inc
-
-PR = "r2"
+PR = "${INC_PR}.0"
 
 do_install () {
 	oe_runmake prefix="${D}${prefix}" \
diff --git a/recipes/expat/expat_1.95.7.bb b/recipes/expat/expat_1.95.7.bb
index 61b2c5d..d78fd67 100644
--- a/recipes/expat/expat_1.95.7.bb
+++ b/recipes/expat/expat_1.95.7.bb
@@ -1,5 +1,5 @@
 require expat.inc
-PR = "r3"
+PR = "${INC_PR}.0"
 
 SRC_URI += "file://autotools.patch \
 	    file://expat-XMLCALL.patch \
diff --git a/recipes/expat/expat_2.0.1.bb b/recipes/expat/expat_2.0.1.bb
index 5ff9f1e..63d3421 100644
--- a/recipes/expat/expat_2.0.1.bb
+++ b/recipes/expat/expat_2.0.1.bb
@@ -1,5 +1,5 @@
 require expat.inc
-PR = "r3"
+PR = "${INC_PR}.0"
 
 BBCLASSEXTEND = "native nativesdk"
 





More information about the Openembedded-commits mailing list