summaryrefslogtreecommitdiff
path: root/gcc/gcc_3.4.1.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-07-24 19:55:33 +0000
committerChris Larson <clarson@kergoth.com>2004-07-24 19:55:33 +0000
commitabe619ce54bd4d10a29f13da1bc890345a74087d (patch)
tree3c2d8dc6e3a5881b3daaa3dd72277e022dc861fe /gcc/gcc_3.4.1.oe
parent3c1ef4c761fc9d2360a1a65833acacc67024856e (diff)
Merge openembedded@openembedded.bkbits.net:packages
into linux.local:/home/kergoth/code/packages 2004/07/24 15:55:24-04:00 local!kergoth Add TARGET_FPU option, to allow us to more easily enable soft float operation in our toolchains (set it to 'soft'). BKrev: 4102beb5HkyvZVLBWeqFY5dHqDaRdQ
Diffstat (limited to 'gcc/gcc_3.4.1.oe')
-rw-r--r--gcc/gcc_3.4.1.oe7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/gcc_3.4.1.oe b/gcc/gcc_3.4.1.oe
index 8e11ec92a1..69fcd31a1a 100644
--- a/gcc/gcc_3.4.1.oe
+++ b/gcc/gcc_3.4.1.oe
@@ -151,7 +151,12 @@ EXTRA_OECONF_PATHS = "--with-local-prefix=${prefix}/local \
EXTRA_OECONF_DEP = ""
EXTRA_OECONF_uclibc = "--disable-__cxa_atexit"
EXTRA_OECONF_glibc = "--enable-__cxa_atexit"
-EXTRA_OECONF_append_ramses = " --with-float=soft "
+EXTRA_OECONF += "${@get_fpu_setting(oe, d)}"
+
+def get_fpu_setting(oe, d):
+ if oe.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--with-float=soft"
+ return ""
python __anonymous () {
import oe, re