[oe-commits] [openembedded-core] 59/68: alsa-lib: fix softfloat enabling

git at git.openembedded.org git at git.openembedded.org
Thu Feb 23 20:51:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 1ed6f860de22321342404a49ba78658153ff5eb8
Author: Tanu Kaskinen <tanuk at iki.fi>
AuthorDate: Wed Feb 15 09:13:02 2017 +0200

    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.
    
    Signed-off-by: Tanu Kaskinen <tanuk at iki.fi>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-multimedia/alsa/alsa-fpu.inc      | 8 +++-----
 meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb | 2 +-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-multimedia/alsa/alsa-fpu.inc b/meta/recipes-multimedia/alsa/alsa-fpu.inc
index 1ca31e7..355a9df 100644
--- a/meta/recipes-multimedia/alsa/alsa-fpu.inc
+++ b/meta/recipes-multimedia/alsa/alsa-fpu.inc
@@ -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 ""
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
index 5c213be..34a7d88 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
@@ -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 "
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list