diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-11-09 22:54:26 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-11-09 22:54:26 +0000 |
commit | b74404fea18ab4304a409f395ab65c185c750d23 (patch) | |
tree | b2f646b0bfc92774c7780e32262ade1d11ad54b0 /packages/gcc/gcc_3.3.3.bb | |
parent | 13932dbeac7d0e2760e42618705485e1bb05422a (diff) |
gcc: Factor get_gcc_fpu_setting() into a common .inc file (removing method errors)
Diffstat (limited to 'packages/gcc/gcc_3.3.3.bb')
-rw-r--r-- | packages/gcc/gcc_3.3.3.bb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/gcc/gcc_3.3.3.bb b/packages/gcc/gcc_3.3.3.bb index 8852f81def..0c237a9166 100644 --- a/packages/gcc/gcc_3.3.3.bb +++ b/packages/gcc/gcc_3.3.3.bb @@ -124,10 +124,7 @@ EXTRA_OECONF_uclibc = "--disable-__cxa_atexit" EXTRA_OECONF_glibc = "--enable-__cxa_atexit" EXTRA_OECONF += "${@get_gcc_fpu_setting(bb, d)}" -def get_gcc_fpu_setting(bb, d): - if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: - return "--with-float=soft" - return "" +require gcc-fpu.inc python __anonymous () { import bb, re |