From 9a378a11bf06ffd6423d9d53ec820adfedfe6b83 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Fri, 24 Oct 2014 14:54:16 +0200 Subject: [PATCH] bluez4: compile static version of the library This installs 'libbluetooth.a' in the toolchain (needed to build static binaries that use libbluetooth). https://jira.digi.com/browse/DEL-1303 Signed-off-by: Javier Viguera (cherry picked from commit f53ae4ab2af1bc5dd2f3f38f9d351d9eefd1f163) --- .../recipes-connectivity/bluez/bluez4_%.bbappend | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-connectivity/bluez/bluez4_%.bbappend b/meta-digi-dey/recipes-connectivity/bluez/bluez4_%.bbappend index b970197d4..42cea55a4 100644 --- a/meta-digi-dey/recipes-connectivity/bluez/bluez4_%.bbappend +++ b/meta-digi-dey/recipes-connectivity/bluez/bluez4_%.bbappend @@ -2,4 +2,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -EXTRA_OECONF_append = " --enable-health" +EXTRA_OECONF_append = " --enable-health --enable-static" + +# Adding '--enable-static' to the config builds static versions of +# libasound_module_ctl and libasound_module_pcm. Those files are not +# packaged, so it fails with "installed but not shipped". +# +# We do not really need those static libs so just disable the QA test +# +INSANE_SKIP_${PN} = "installed-vs-shipped"