summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/speex/speex-fpu.inc
diff options
context:
space:
mode:
authorFahad Arslan <Fahad_Arslan@mentor.com>2014-01-20 15:38:20 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:52:32 +0000
commitf805cff5fc7652a531543ec96f2ca9d03d7738a2 (patch)
tree6fc84ecef2b9dd1babf7ca253955d1526757158a /meta/recipes-multimedia/speex/speex-fpu.inc
parent492240ac22f3e3c534d9932404710e6f45e0ac9c (diff)
downloadpoky-f805cff5fc7652a531543ec96f2ca9d03d7738a2.tar.gz
speex: configure in float or fixed mode based on TARGET_FPU
Decide float or fixed mode usage depending on whether hardware FPU is present or not. (From OE-Core rev: e8f707f16a38d85535593a32efff6dcbf4ddb203) Signed-off-by: Fahad Arslan <Fahad_Arslan@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/speex/speex-fpu.inc')
-rw-r--r--meta/recipes-multimedia/speex/speex-fpu.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/speex/speex-fpu.inc b/meta/recipes-multimedia/speex/speex-fpu.inc
new file mode 100644
index 0000000000..2571d32484
--- /dev/null
+++ b/meta/recipes-multimedia/speex/speex-fpu.inc
@@ -0,0 +1,4 @@
1def get_speex_fpu_setting(bb, d):
2 if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
3 return "--enable-fixed-point --disable-float-api --disable-vbr"
4 return ""