[oe-commits] Khem Raj : gcc: Make use of INC_PR consistently.
git version control
git at git.openembedded.org
Thu Sep 30 20:18:46 UTC 2010
Module: openembedded.git
Branch: master
Commit: 7a92e52370342911a6632a28b5287ca762c00082
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7a92e52370342911a6632a28b5287ca762c00082
Author: Khem Raj <raj.khem at gmail.com>
Date: Sun Sep 26 09:24:51 2010 -0700
gcc: Make use of INC_PR consistently.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/gcc/gcc-cross-sdk_4.5.bb | 3 +--
recipes/gcc/gcc-cross-sdk_svn.bb | 3 +--
recipes/gcc/gcc-cross_4.5.bb | 3 ++-
recipes/gcc/gcc-cross_svn.bb | 2 +-
recipes/gcc/gcc-svn.inc | 2 +-
recipes/gcc/gcc_svn.bb | 2 +-
6 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/recipes/gcc/gcc-cross-sdk_4.5.bb b/recipes/gcc/gcc-cross-sdk_4.5.bb
index e8ef4e2..f96607e 100644
--- a/recipes/gcc/gcc-cross-sdk_4.5.bb
+++ b/recipes/gcc/gcc-cross-sdk_4.5.bb
@@ -1,9 +1,8 @@
-PR = "r4"
-
inherit sdk
require gcc-${PV}.inc
require gcc-cross-sdk.inc
+PR = "${INC_PR}.0"
EXTRA_OECONF += " --disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} --with-system-zlib"
diff --git a/recipes/gcc/gcc-cross-sdk_svn.bb b/recipes/gcc/gcc-cross-sdk_svn.bb
index 48d8a0d..847aada 100644
--- a/recipes/gcc/gcc-cross-sdk_svn.bb
+++ b/recipes/gcc/gcc-cross-sdk_svn.bb
@@ -1,11 +1,10 @@
-PR = "r1"
-
inherit sdk
require gcc-${PV}.inc
require gcc-cross-sdk.inc
require gcc-configure-sdk.inc
require gcc-package-sdk.inc
+PR = "${INC_PR}.0"
DEPENDS += "libmpc-native gmp-native mpfr-native"
diff --git a/recipes/gcc/gcc-cross_4.5.bb b/recipes/gcc/gcc-cross_4.5.bb
index a2da4a8..2719145 100644
--- a/recipes/gcc/gcc-cross_4.5.bb
+++ b/recipes/gcc/gcc-cross_4.5.bb
@@ -1,7 +1,8 @@
-PR = "r1"
require gcc-${PV}.inc
require gcc-cross4.inc
+PR = "${INC_PR}.0"
+
NATIVEDEPS += "libmpc-native libelf-native"
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch "
diff --git a/recipes/gcc/gcc-cross_svn.bb b/recipes/gcc/gcc-cross_svn.bb
index 825a7bd..820829d 100644
--- a/recipes/gcc/gcc-cross_svn.bb
+++ b/recipes/gcc/gcc-cross_svn.bb
@@ -1,6 +1,6 @@
-PR = "r0"
require gcc-${PV}.inc
require gcc-cross4.inc
+PR = "${INC_PR}.0"
DEPENDS += "libmpc-native"
diff --git a/recipes/gcc/gcc-svn.inc b/recipes/gcc/gcc-svn.inc
index 2e24d63..468f62b 100644
--- a/recipes/gcc/gcc-svn.inc
+++ b/recipes/gcc/gcc-svn.inc
@@ -1,6 +1,6 @@
DEFAULT_PREFERENCE = "-999"
ARM_INSTRUCTION_SET = "arm"
-
+INC_PR = "r0"
SRCREV = "158653"
require gcc-common.inc
diff --git a/recipes/gcc/gcc_svn.bb b/recipes/gcc/gcc_svn.bb
index 40e1f7c..9b69a23 100644
--- a/recipes/gcc/gcc_svn.bb
+++ b/recipes/gcc/gcc_svn.bb
@@ -1,7 +1,7 @@
-PR = "r0"
require gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
+PR = "${INC_PR}.0"
# Gcc 4.3.3 installs crt* in a '4.3.1' dir....
FILES_${PN} += "\
More information about the Openembedded-commits
mailing list