summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/ofono/ofono
Commit message (Collapse)AuthorAgeFilesLines
* ofono: prevent using bundled ell headers and fix build with ell-0.39Martin Jansa2021-04-231-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * -I../ofono-1.31 is included when building drivers/mbimmodem/mbim.c and then ell.h will happily include ell/util.h from there: # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 1 3 4 # 23 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 3 4 # 1 "../ofono-1.31/ell/util.h" 1 3 4 # 26 "../ofono-1.31/ell/util.h" 3 4 # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 1 3 4 # 26 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 3 4 # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/bits/libc-header-start.h" 1 3 4 # 27 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 2 3 4 * and it gets more interesting because unlikely() macro was dropped from ell/util.h in: https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=2a682421b06e41c45098217a686157f576847021 and ofono builds from git (which doesn't bundle ell) were failing with: drivers/mbimmodem/mbim-message.c: In function 'message_iter_next_entry_valist': drivers/mbimmodem/mbim-message.c:504:8: warning: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration] 504 | if (unlikely(indent > MAX_NESTING)) | ^~~~~~~~ ... x86_64-webos-linux-libtool: link: x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/dbus-1.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/glib-2.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/glib-2.0/include -DOFONO_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib/ofono/plugins\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o unit/test-mbim unit/test-mbim.o drivers/mbimmodem/mbim-message.o drivers/mbimmodem/mbim.o -lell drivers/mbimmodem/mbim-message.c:1389: error: undefined reference to 'unlikely' drivers/mbimmodem/mbim-message.c:1255: error: undefined reference to 'unlikely' drivers/mbimmodem/mbim-message.c:514: error: undefined reference to 'unlikely' drivers/mbimmodem/mbim-message.c:504: error: undefined reference to 'unlikely' collect2: error: ld returned 1 exit status while build from 1.31 tarball was passing OK, because using this older bundled ell/util.h delete bundled ell as we always enable external ell to make sure this doesn't happen again and fix mbimmodem to build with ell-0.39 (From OE-Core rev: 25f44ce327aff94c956d431c3cdf92adc39b2eeb) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: update to 1.30Oleksandr Kravchuk2019-08-214-141/+0
| | | | | | | | | Removed upstreamed patches. (From OE-Core rev: 79a14772ef2ab6c73bb438377cd259c484020818) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Add TEMP_FAILURE_RETRY optional definitionKhem Raj2019-05-271-0/+36
| | | | | | | | | Fixes build with musl where TEMP_FAILURE_RETRY is not provided (From OE-Core rev: 2a6c1c33bcf061f65da159d66fae78b31bcc9e60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Fix another race condition during the buildAdrian Bunk2019-05-221-0/+50
| | | | | | | (From OE-Core rev: 1e4b8c0f60edad14a422dc22b42bd6618695ce85) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Use external ell instead of an internal copyAdrian Bunk2019-05-221-0/+36
| | | | | | | (From OE-Core rev: 3683f524dc60325b3f3b1bc3a32e70a41064ae03) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: upgrade 1.25 -> 1.29Adrian Bunk2019-05-173-27/+55
| | | | | | | | | | Remove patch applied upstream. Backport two fixes for build failures (From OE-Core rev: 8a6ef2044c912d58f3d3bfed614363799a341110) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: use patch sent upstream instead of sedRoss Burton2018-01-301-0/+27
| | | | | | | | | | | Instead of using a sed to fix the hashbang in a test tool send a patch upstream and use that. This way we'll notice when the patch doesn't need to be applied anymore. (From OE-Core rev: 8b6c45dfdd6a7b469f5a0dd7308b25bdd4b1bf56) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: drop the custom-made revert to Python 2 from Python 3Alexander Kanavin2016-06-031-1270/+0
| | | | | | | (From OE-Core rev: 5645bd904b41fb765a03c4246ce6bcc3cda28f9d) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: upgrade to version 1.17Maxin B. John2015-12-011-40/+0
| | | | | | | | | | | Removed the patch 0001-backtrace-Disable-for-non-glibc-C-libraries.patch, as it is included in the new sources. (From OE-Core rev: 4ffa6d6950f23afa549116ff2bfb30e687888914) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Disable backtrace for non-glibc librariesKhem Raj2015-04-081-0/+40
| | | | | | | | | | | It uses glibc backtrace() API which is not implemented everywhere e.g. musl Change-Id: I96380b994c27968542dba6dae220adfecaeda556 (From OE-Core rev: 4dd6bca8cdf538a7da9ffcb36faf70c3436b4f19) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: upgrade to 1.15Cristian Iorga2014-08-281-0/+1270
| | | | | | | | | | | | | - Bug fixes; Add support for Handsfree subscriber number feature; Add support for Handsfree multiple DTMF characters; Add support for PAP authentication. - Added patch to revert tests to work with Python2.x. (From OE-Core rev: 21f95b2db0f22dcb4d9cd59a90f291f72982f2a1) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: upgrade to 1.13Cristian Iorga2013-11-181-23/+0
| | | | | | | | | | | | obsolete_automake_macros.patch and missing-ssize_t.patch no longer needed, included in upstream. Better support for BlueZ5. (From OE-Core rev: 50ea6d79fbbece279cda908ea768673de02a3d82) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Fix build with eglibc 2.17Khem Raj2013-01-101-0/+23
| | | | | | | | | | include unistd.h explicitly to get ssize_t defined (From OE-Core rev: 6d722967e2b6905f2bc0b32fc30228ec889529ff) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: fix test block syntax errorDarren Hart2011-07-191-1/+1
| | | | | | | | | | | | | | A space is required prior to the closing square bracket. Without it, a parsing error is reported to the console. I don't have hardware to confirm, but I suspect the service would fail to function properly as well. Correct the typo. (From OE-Core rev: 539e038574b1eec9d3b51329135671e8933288ac) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Upgrade to version 0.33Dongxiao Xu2010-12-021-0/+42
Fixed recipe metadata. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>