summaryrefslogtreecommitdiff
path: root/recipes/gcc/gcc-svn.inc
blob: 94ee5a1ff183f4b50d5fa2c1944dfae4733a67c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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)
}