1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

alsa-lib: fix softfloat enabling

EXTRA_OECONF = "--disable-python" overrode the previous EXTRA_OECONF
assignment, so softfloat didn't get enabled when needed. Fixed this by
replacing "=" with "+=".

Bitbake then complained about tabs in alsa-fpu.inc, changed them to
spaces.

(From OE-Core rev: 1ed6f860de22321342404a49ba78658153ff5eb8)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tanu Kaskinen
2017-02-15 09:13:02 +02:00
committed by Richard Purdie
parent 5286f9c310
commit 06fe5024e2
2 changed files with 4 additions and 6 deletions
+3 -5
View File
@@ -1,6 +1,4 @@
def get_alsa_fpu_setting(bb, d):
if d.getVar('TARGET_FPU') in [ 'soft' ]:
return "--with-softfloat"
return ""
if d.getVar('TARGET_FPU') in [ 'soft' ]:
return "--with-softfloat"
return ""
@@ -21,7 +21,7 @@ inherit autotools pkgconfig
require alsa-fpu.inc
EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
EXTRA_OECONF = "--disable-python"
EXTRA_OECONF += "--disable-python"
EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no "