summaryrefslogtreecommitdiff
path: root/meta/packages/gcc/gcc-fpu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-fpu.inc')
-rw-r--r--meta/packages/gcc/gcc-fpu.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-fpu.inc b/meta/packages/gcc/gcc-fpu.inc
new file mode 100644
index 0000000000..bb03d95567
--- /dev/null
+++ b/meta/packages/gcc/gcc-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_gcc_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--with-float=soft"
+ return ""
+