diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-25 11:23:56 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-25 11:23:56 +0000 |
commit | 32d6f2166fa25c41a3faf54c18120ac12f3540d7 (patch) | |
tree | 8ae86115b1ba5479aaf16a8aa414bdc61459253b /meta/packages/alsa | |
parent | a652210323d5aa8d3a54e339a8f1677f32231ca0 (diff) | |
download | poky-32d6f2166fa25c41a3faf54c18120ac12f3540d7.tar.gz |
alsa-lib: sync with OE (fpu settings)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2957 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/alsa')
-rw-r--r-- | meta/packages/alsa/alsa-fpu.inc | 6 | ||||
-rw-r--r-- | meta/packages/alsa/alsa-lib_1.0.14.bb | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/meta/packages/alsa/alsa-fpu.inc b/meta/packages/alsa/alsa-fpu.inc new file mode 100644 index 0000000000..ebd3493e6c --- /dev/null +++ b/meta/packages/alsa/alsa-fpu.inc | |||
@@ -0,0 +1,6 @@ | |||
1 | |||
2 | def get_alsa_fpu_setting(bb, d): | ||
3 | if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: | ||
4 | return "--with-softfloat" | ||
5 | return "" | ||
6 | |||
diff --git a/meta/packages/alsa/alsa-lib_1.0.14.bb b/meta/packages/alsa/alsa-lib_1.0.14.bb index de805b9a4b..ba46342ae7 100644 --- a/meta/packages/alsa/alsa-lib_1.0.14.bb +++ b/meta/packages/alsa/alsa-lib_1.0.14.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.alsa-project.org" | |||
3 | SECTION = "libs/multimedia" | 3 | SECTION = "libs/multimedia" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | 5 | ||
6 | PR = "r1" | 6 | PR = "r2" |
7 | 7 | ||
8 | # configure.in sets -D__arm__ on the command line for any arm system | 8 | # configure.in sets -D__arm__ on the command line for any arm system |
9 | # (not just those with the ARM instruction set), this should be removed, | 9 | # (not just those with the ARM instruction set), this should be removed, |
@@ -17,6 +17,9 @@ SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2 \ | |||
17 | 17 | ||
18 | inherit autotools pkgconfig | 18 | inherit autotools pkgconfig |
19 | 19 | ||
20 | require alsa-fpu.inc | ||
21 | EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " | ||
22 | |||
20 | EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes" | 23 | EXTRA_OECONF = "--with-cards=pdaudiocf --with-oss=yes" |
21 | 24 | ||
22 | do_stage () { | 25 | do_stage () { |