summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-15 13:49:51 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-15 13:49:51 +0000
commitb059ff9b659ac3b8f4ac48bb18450366ff18ce81 (patch)
treecaefe701ec97bcd74b65594c18c608afc96577b6
parenta58b26f88e2a4377e8c22f3a1269672815799c8c (diff)
Create gcc-common.inc
-rw-r--r--packages/gcc/gcc-3.3.3.inc8
-rw-r--r--packages/gcc/gcc-3.3.4.inc8
-rw-r--r--packages/gcc/gcc-3.4.3.inc8
-rw-r--r--packages/gcc/gcc-3.4.4.inc8
-rw-r--r--packages/gcc/gcc-4.0.0.inc7
-rw-r--r--packages/gcc/gcc-4.0.2.inc7
-rw-r--r--packages/gcc/gcc-4.1.0.inc7
-rw-r--r--packages/gcc/gcc-4.1.1.inc7
-rw-r--r--packages/gcc/gcc-4.1.2.inc7
-rw-r--r--packages/gcc/gcc-4.2.1.inc7
-rw-r--r--packages/gcc/gcc-4.2.2.inc8
-rw-r--r--packages/gcc/gcc-common.inc6
-rw-r--r--packages/gcc/gcc-cross-sdk_3.3.4.bb4
-rw-r--r--packages/gcc/gcc-cross-sdk_3.4.3.bb4
-rw-r--r--packages/gcc/gcc-cross-sdk_3.4.4.bb4
-rw-r--r--packages/gcc/gcc-cross-sdk_4.1.0.bb4
-rw-r--r--packages/gcc/gcc-cross-sdk_4.1.1.bb4
-rw-r--r--packages/gcc/gcc-cross-sdk_4.2.2.bb4
-rw-r--r--packages/gcc/gcc-csl-arm-2005q3.inc7
-rw-r--r--packages/gcc/gcc-csl-arm.inc7
20 files changed, 25 insertions, 101 deletions
diff --git a/packages/gcc/gcc-3.3.3.inc b/packages/gcc/gcc-3.3.3.inc
index ea34debc64..8c44d60d1c 100644
--- a/packages/gcc/gcc-3.3.3.inc
+++ b/packages/gcc/gcc-3.3.3.inc
@@ -1,10 +1,6 @@
-SECTION = "devel"
-PR = "r3"
-inherit autotools gettext
+require gcc-common.inc
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-LICENSE = "GPL"
+PR = "r3"
# libgcc libstdc++ libg2c are listed in our FILES_*, but are actually
# packaged in the respective cross packages.
diff --git a/packages/gcc/gcc-3.3.4.inc b/packages/gcc/gcc-3.3.4.inc
index 294e57d7df..bc6b646c87 100644
--- a/packages/gcc/gcc-3.3.4.inc
+++ b/packages/gcc/gcc-3.3.4.inc
@@ -1,10 +1,6 @@
-SECTION = "devel"
-PR = "r3"
-inherit autotools gettext
+require gcc-common.inc
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-LICENSE = "GPL"
+PR = "r3"
# libgcc libstdc++ libg2c are listed in our FILES_*, but are actually
# packaged in the respective cross packages.
diff --git a/packages/gcc/gcc-3.4.3.inc b/packages/gcc/gcc-3.4.3.inc
index c4d6df955d..b9470416d6 100644
--- a/packages/gcc/gcc-3.4.3.inc
+++ b/packages/gcc/gcc-3.4.3.inc
@@ -1,10 +1,6 @@
-PR = "r12"
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
-inherit autotools gettext
+PR = "r12"
require gcc-package.inc
diff --git a/packages/gcc/gcc-3.4.4.inc b/packages/gcc/gcc-3.4.4.inc
index 4694d3ac5e..109b29eaff 100644
--- a/packages/gcc/gcc-3.4.4.inc
+++ b/packages/gcc/gcc-3.4.4.inc
@@ -1,10 +1,6 @@
-PR = "r7"
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
-inherit autotools gettext
+PR = "r7"
require gcc-package.inc
diff --git a/packages/gcc/gcc-4.0.0.inc b/packages/gcc/gcc-4.0.0.inc
index 9f75bf1f54..9f360764fb 100644
--- a/packages/gcc/gcc-4.0.0.inc
+++ b/packages/gcc/gcc-4.0.0.inc
@@ -1,11 +1,6 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
PR = "r3"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
diff --git a/packages/gcc/gcc-4.0.2.inc b/packages/gcc/gcc-4.0.2.inc
index 2945592659..6dd6febeba 100644
--- a/packages/gcc/gcc-4.0.2.inc
+++ b/packages/gcc/gcc-4.0.2.inc
@@ -1,11 +1,8 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
+
DEPENDS = "mpfr gmp"
PR = "r7"
-inherit autotools gettext
require gcc-package.inc
diff --git a/packages/gcc/gcc-4.1.0.inc b/packages/gcc/gcc-4.1.0.inc
index 6a5f607729..b2aeb13177 100644
--- a/packages/gcc/gcc-4.1.0.inc
+++ b/packages/gcc/gcc-4.1.0.inc
@@ -1,13 +1,8 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
PR = "r3"
DEFAULT_PREFERENCE = "-1"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.0/gcc-4.1.0.tar.bz2 \
diff --git a/packages/gcc/gcc-4.1.1.inc b/packages/gcc/gcc-4.1.1.inc
index 4b538219b3..d9cf6a08a0 100644
--- a/packages/gcc/gcc-4.1.1.inc
+++ b/packages/gcc/gcc-4.1.1.inc
@@ -1,11 +1,6 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
PR = "r18"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 \
diff --git a/packages/gcc/gcc-4.1.2.inc b/packages/gcc/gcc-4.1.2.inc
index fc75e942bb..0f0cd96e39 100644
--- a/packages/gcc/gcc-4.1.2.inc
+++ b/packages/gcc/gcc-4.1.2.inc
@@ -1,13 +1,8 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
# NOTE: split PR. If the main .bb changes something that affects its *build*
# remember to increment the -cross .bb PR too.
PR = "r11"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.2/gcc-4.1.2.tar.bz2 \
diff --git a/packages/gcc/gcc-4.2.1.inc b/packages/gcc/gcc-4.2.1.inc
index 2e74e99ab4..513d9fde2c 100644
--- a/packages/gcc/gcc-4.2.1.inc
+++ b/packages/gcc/gcc-4.2.1.inc
@@ -1,11 +1,6 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
PR = "r9"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
diff --git a/packages/gcc/gcc-4.2.2.inc b/packages/gcc/gcc-4.2.2.inc
index 0a0e9cdd16..8a250396cb 100644
--- a/packages/gcc/gcc-4.2.2.inc
+++ b/packages/gcc/gcc-4.2.2.inc
@@ -1,10 +1,6 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
-PR = "r6"
+require gcc-common.inc
-inherit autotools gettext
+PR = "r6"
require gcc-package.inc
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc
new file mode 100644
index 0000000000..cd2582e160
--- /dev/null
+++ b/packages/gcc/gcc-common.inc
@@ -0,0 +1,6 @@
+DESCRIPTION = "The GNU cc and gcc C compilers."
+HOMEPAGE = "http://www.gnu.org/software/gcc/"
+SECTION = "devel"
+LICENSE = "GPL"
+
+inherit autotools gettext
diff --git a/packages/gcc/gcc-cross-sdk_3.3.4.bb b/packages/gcc/gcc-cross-sdk_3.3.4.bb
index 1c9a328d24..8d973ac5d6 100644
--- a/packages/gcc/gcc-cross-sdk_3.3.4.bb
+++ b/packages/gcc/gcc-cross-sdk_3.3.4.bb
@@ -1,7 +1,3 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
require gcc-${PV}.inc
PR = "r3"
diff --git a/packages/gcc/gcc-cross-sdk_3.4.3.bb b/packages/gcc/gcc-cross-sdk_3.4.3.bb
index 86ff88cd78..6f237f8473 100644
--- a/packages/gcc/gcc-cross-sdk_3.4.3.bb
+++ b/packages/gcc/gcc-cross-sdk_3.4.3.bb
@@ -1,7 +1,3 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
require gcc-${PV}.inc
PR = "r1"
diff --git a/packages/gcc/gcc-cross-sdk_3.4.4.bb b/packages/gcc/gcc-cross-sdk_3.4.4.bb
index 1c9a328d24..8d973ac5d6 100644
--- a/packages/gcc/gcc-cross-sdk_3.4.4.bb
+++ b/packages/gcc/gcc-cross-sdk_3.4.4.bb
@@ -1,7 +1,3 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
require gcc-${PV}.inc
PR = "r3"
diff --git a/packages/gcc/gcc-cross-sdk_4.1.0.bb b/packages/gcc/gcc-cross-sdk_4.1.0.bb
index 432d9f31e8..a8286c9603 100644
--- a/packages/gcc/gcc-cross-sdk_4.1.0.bb
+++ b/packages/gcc/gcc-cross-sdk_4.1.0.bb
@@ -1,7 +1,3 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
require gcc-${PV}.inc
PR = "r2"
diff --git a/packages/gcc/gcc-cross-sdk_4.1.1.bb b/packages/gcc/gcc-cross-sdk_4.1.1.bb
index c0f27b137e..04c7049b5a 100644
--- a/packages/gcc/gcc-cross-sdk_4.1.1.bb
+++ b/packages/gcc/gcc-cross-sdk_4.1.1.bb
@@ -1,7 +1,3 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
PR = "r3"
inherit sdk
diff --git a/packages/gcc/gcc-cross-sdk_4.2.2.bb b/packages/gcc/gcc-cross-sdk_4.2.2.bb
index 9a1b7fb362..0934848111 100644
--- a/packages/gcc/gcc-cross-sdk_4.2.2.bb
+++ b/packages/gcc/gcc-cross-sdk_4.2.2.bb
@@ -1,7 +1,3 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
PR = "r3"
inherit sdk
diff --git a/packages/gcc/gcc-csl-arm-2005q3.inc b/packages/gcc/gcc-csl-arm-2005q3.inc
index b90f6907bb..dea8113d1b 100644
--- a/packages/gcc/gcc-csl-arm-2005q3.inc
+++ b/packages/gcc/gcc-csl-arm-2005q3.inc
@@ -1,7 +1,4 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
BINV = "3.4.4"
PV = "3.4.4+csl-arm-2005q3"
PV_chinook-compat = "3.4.4cs2005q3.2"
@@ -9,8 +6,6 @@ PR = "r3"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2005q3-2-arm-none-eabi.src.tar.bz2 \
diff --git a/packages/gcc/gcc-csl-arm.inc b/packages/gcc/gcc-csl-arm.inc
index 2599498fda..5a07bcaf5b 100644
--- a/packages/gcc/gcc-csl-arm.inc
+++ b/packages/gcc/gcc-csl-arm.inc
@@ -1,7 +1,4 @@
-DESCRIPTION = "The GNU cc and gcc C compilers."
-HOMEPAGE = "http://www.gnu.org/software/gcc/"
-SECTION = "devel"
-LICENSE = "GPL"
+require gcc-common.inc
BINV = "3.4.4"
PV = "3.4.4+csl-arm-${SRCDATE}"
PR = "r1"
@@ -9,8 +6,6 @@ PR = "r1"
FILESDIR = "${FILE_DIRNAME}/gcc-csl-arm"
DEFAULT_PREFERENCE = "-1"
-inherit autotools gettext
-
require gcc-package.inc
SRC_URI = "cvs://anonymous@cvs.savannah.gnu.org/cvsroot/gcc;method=pserver;tag=csl-arm-branch;module=gcc;date=${SRCDATE} \