From 7a92e52370342911a6632a28b5287ca762c00082 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 26 Sep 2010 09:24:51 -0700 Subject: gcc: Make use of INC_PR consistently. Signed-off-by: Khem Raj --- 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(-) (limited to 'recipes/gcc') diff --git a/recipes/gcc/gcc-cross-sdk_4.5.bb b/recipes/gcc/gcc-cross-sdk_4.5.bb index e8ef4e2616..f96607e64e 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 48d8a0d1ed..847aada8d6 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 a2da4a88e8..2719145b38 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 825a7bde8a..820829d42d 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 2e24d63c1a..468f62b1f9 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 40e1f7c3e5..9b69a23d11 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} += "\ -- cgit 1.2.3-korg