1 DESCRIPTION = "The GNU cc and gcc C compilers."
2 HOMEPAGE = "http://www.gnu.org/software/gcc/"
6 inherit autotools gettext
8 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
10 # When making a Canadian SDK, we use these files too to make the compiler
11 # for building for the new host part. So only obey TARGET_FPU for the
13 def get_gcc_fpu_setting(bb, d):
14 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ] and bb.data.getVar('TARGET_OS', d, 1) in [ 'linux' ]:
15 return "--with-float=soft"
18 # We really need HOST_SYS here for some packages and TARGET_SYS for others.
19 # For now, libgcc is most important so we fix for that - RP.
20 SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs"
22 DEBIANNAME_libgcc = "libgcc1"
25 ${GNU_MIRROR}/gcc/releases/ ftp://gcc.gnu.org/pub/gcc/releases/
26 ${GNU_MIRROR}/gcc/ http://mirrors.rcn.net/pub/sourceware/gcc/releases/
27 ${GNU_MIRROR}/gcc/releases/ http://gcc.get-software.com/releases/
28 ${GNU_MIRROR}/gcc/ http://gcc.get-software.com/releases/
32 # Set some default values
34 gcclibdir = "${libdir}/gcc"
36 S = "${WORKDIR}/gcc-${PV}"
37 B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"