summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-16 00:34:24 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-16 00:34:24 +0000
commitfab7419cc6a2e53d1cc122abb6d8a3ce0e46fd07 (patch)
treed6e97778e54a971bb9d6334187202af54653c553 /packages/gcc/gcc-common.inc
parent9d362ff9245347ab553cb7d47495b496cbb6ba1d (diff)
gcc: Move old style gcc*build*.inc includes into gcc-configure-{target|cross|sdk} and a common include file. Factor some common data not related to configure into gcc-common.inc. Rewrite 3.3.3 and 3.3.4 recipes to use standard includes (tested and they work).
Diffstat (limited to 'packages/gcc/gcc-common.inc')
-rw-r--r--packages/gcc/gcc-common.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc
index 5bb46e1f9b..1097614969 100644
--- a/packages/gcc/gcc-common.inc
+++ b/packages/gcc/gcc-common.inc
@@ -18,6 +18,18 @@ SHLIBSDIR = "${STAGING_DIR}/${TARGET_SYS}/shlibs"
DEBIANNAME_libgcc = "libgcc1"
-# Some default values
+MIRRORS_prepend () {
+${GNU_MIRROR}/gcc/releases/ ftp://gcc.gnu.org/pub/gcc/releases/
+${GNU_MIRROR}/gcc/ http://mirrors.rcn.net/pub/sourceware/gcc/releases/
+${GNU_MIRROR}/gcc/releases/ http://gcc.get-software.com/releases/
+${GNU_MIRROR}/gcc/ http://gcc.get-software.com/releases/
+}
+
+#
+# Set some default values
+#
gcclibdir = "${libdir}/gcc"
BINV = "${PV}"
+S = "${WORKDIR}/gcc-${PV}"
+B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
+