[oe-commits] org.oe.dev alsa: enable fixed-point PCM conversion for TARGET_FPU=soft
koen commit
openembedded-commits at lists.openembedded.org
Mon Sep 17 11:48:04 UTC 2007
alsa: enable fixed-point PCM conversion for TARGET_FPU=soft
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: e693b2bf0018d4d35c75103648c29805e597c2c9
ViewMTN: http://monotone.openembedded.org/revision/info/e693b2bf0018d4d35c75103648c29805e597c2c9
Files:
1
packages/alsa/alsa-fpu.inc
packages/alsa/alsa-lib_1.0.14.bb
Diffs:
#
# mt diff -re14f4387b604ad5dc8d2bdbe0522468a793ef9ae -re693b2bf0018d4d35c75103648c29805e597c2c9
#
#
#
# add_file "packages/alsa/alsa-fpu.inc"
# content [45095284a3c8495d92d991a7651f06d033e745ea]
#
# patch "packages/alsa/alsa-lib_1.0.14.bb"
# from [60431b66fbe642b84eebb662e02f977ce4cf8e9d]
# to [ec18e1786e732df88269f903aa646f5b8d1fc5e0]
#
============================================================
--- packages/alsa/alsa-fpu.inc 45095284a3c8495d92d991a7651f06d033e745ea
+++ packages/alsa/alsa-fpu.inc 45095284a3c8495d92d991a7651f06d033e745ea
@@ -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 ""
+
============================================================
--- packages/alsa/alsa-lib_1.0.14.bb 60431b66fbe642b84eebb662e02f977ce4cf8e9d
+++ packages/alsa/alsa-lib_1.0.14.bb ec18e1786e732df88269f903aa646f5b8d1fc5e0
@@ -1,9 +1,9 @@ LICENSE = "GPL"
DESCRIPTION = "Alsa sound library"
HOMEPAGE = "http://www.alsa-project.org"
SECTION = "libs/multimedia"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
# configure.in sets -D__arm__ on the command line for any arm system
# (not just those with the ARM instruction set), this should be removed,
@@ -17,6 +17,9 @@ inherit autotools pkgconfig
inherit autotools pkgconfig
+require alsa-fpu.inc
+EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
+
EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes"
do_stage () {
More information about the Openembedded-commits
mailing list