summaryrefslogtreecommitdiff
path: root/packages/alsa/alsa-fpu.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-09-17 11:35:01 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-17 11:35:01 +0000
commit496aea4722ae98806904e2ada55a779ee956ec51 (patch)
treee59b20b55ee3bdb6504d635ead84fea8c607e37c /packages/alsa/alsa-fpu.inc
parent1bd2a31ce5b056524a7d249fb44616a485f2f0f2 (diff)
alsa: enable fixed-point PCM conversion for TARGET_FPU=soft
Diffstat (limited to 'packages/alsa/alsa-fpu.inc')
-rw-r--r--packages/alsa/alsa-fpu.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/alsa/alsa-fpu.inc b/packages/alsa/alsa-fpu.inc
new file mode 100644
index 0000000000..ebd3493e6c
--- /dev/null
+++ b/packages/alsa/alsa-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_alsa_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--with-softfloat"
+ return ""
+