diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 16:50:01 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2008-03-15 16:50:01 +0000 |
commit | 1caf47754d044d04cd4f94885d3115d2914144b7 (patch) | |
tree | 2054fe3648a863b744aaa706c038a5f3818ffd27 /packages/gcc/gcc-common.inc | |
parent | 035ff193ec403f2ed7903942897d100656dc1b17 (diff) |
gcc: Move get_gcc_fpu_setting into gcc-common.inc
Diffstat (limited to 'packages/gcc/gcc-common.inc')
-rw-r--r-- | packages/gcc/gcc-common.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc index cd2582e160..b066434cfd 100644 --- a/packages/gcc/gcc-common.inc +++ b/packages/gcc/gcc-common.inc @@ -4,3 +4,9 @@ SECTION = "devel" LICENSE = "GPL" inherit autotools gettext + +def get_gcc_fpu_setting(bb, d): + if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: + return "--with-float=soft" + return "" + |