aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-svn.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-04-06 12:16:23 -0700
committerKhem Raj <raj.khem@gmail.com>2009-04-06 12:16:23 -0700
commit877fed8078d379d213290b791a8a1282867f5061 (patch)
tree7ff5220fd262e343cc3b70634b41771d14580cdd /recipes/gcc/gcc-svn.inc
parentfe6822f3e85d5b14586d747c72b4e0395d981ea9 (diff)
downloadopenembedded-877fed8078d379d213290b791a8a1282867f5061.tar.gz
openembedded-877fed8078d379d213290b791a8a1282867f5061.tar.bz2
openembedded-877fed8078d379d213290b791a8a1282867f5061.zip
gcc-svn: Add recipe to build bleeding edge gcc.
Diffstat (limited to 'recipes/gcc/gcc-svn.inc')
-rw-r--r--recipes/gcc/gcc-svn.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/gcc/gcc-svn.inc b/recipes/gcc/gcc-svn.inc
new file mode 100644
index 0000000000..94ee5a1ff1
--- /dev/null
+++ b/recipes/gcc/gcc-svn.inc
@@ -0,0 +1,34 @@
+# No armeb and thumb patches - really needs checking
+DEFAULT_PREFERENCE = "-999"
+ARM_INSTRUCTION_SET = "arm"
+
+require gcc-common.inc
+
+DEPENDS = "mpfr gmp"
+
+GCC_BASE ?= "4.5"
+PV = "${GCC_BASE}+svnr${SRCREV}"
+PR = "r0"
+#DEFAULT_PREFERENCE is 0 (empty), releases have a preference of 1 so take
+# precedence.
+
+FILESPATHPKG .= ":gcc-svn"
+
+SRC_URI = "svn://gcc.gnu.org/svn/gcc;module=trunk \
+ "
+# Language Overrides
+FORTRAN = ""
+JAVA = ""
+
+EXTRA_OECONF_BASE = " --enable-libssp \
+ --disable-bootstrap --disable-libgomp \
+ --disable-libmudflap"
+
+rename_srcdir (){
+ mv ${WORKDIR}/trunk ${WORKDIR}/gcc-${PV}
+}
+
+do_unpack_append() {
+ bb.build.exec_func('rename_srcdir', d)
+}
+