summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-common.inc
blob: 36a491af7238c5eef058520f6d18cabd809f804e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
LICENSE = "GPL"

inherit autotools gettext

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"

def get_gcc_fpu_setting(bb, d):
    if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
        return "--with-float=soft"
    return ""