diff options
Diffstat (limited to 'meta/recipes-connectivity')
6 files changed, 9 insertions, 154 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono/0001-Makefile.am-Don-t-overwrite-src_ofonod_DEPENDENCIES.patch b/meta/recipes-connectivity/ofono/ofono/0001-Makefile.am-Don-t-overwrite-src_ofonod_DEPENDENCIES.patch deleted file mode 100644 index 77073ddb1c..0000000000 --- a/meta/recipes-connectivity/ofono/ofono/0001-Makefile.am-Don-t-overwrite-src_ofonod_DEPENDENCIES.patch +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | From eeaf8dac80f15a2b7c18d1d4ee63106973a6a873 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Bunk <bunk@kernel.org> | ||
3 | Date: Tue, 21 May 2019 14:13:35 +0300 | ||
4 | Subject: Makefile.am: Don't overwrite src_ofonod_DEPENDENCIES | ||
5 | |||
6 | src_ofonod_DEPENDENCIES did overwrite the dependencies | ||
7 | automatically generated from src_ofonod_LDADD with | ||
8 | incomplete dependencies. | ||
9 | |||
10 | This fixes the following build error: | ||
11 | ... | ||
12 | CCLD src/ofonod | ||
13 | libtool: error: cannot find the library 'gdbus/libgdbus-internal.la' or unhandled argument 'gdbus/libgdbus-internal.la' | ||
14 | make: *** [Makefile:3448: src/ofonod] Error 1 | ||
15 | |||
16 | Upstream-Status: Submitted | ||
17 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
18 | --- | ||
19 | Makefile.am | 4 ---- | ||
20 | 1 file changed, 4 deletions(-) | ||
21 | |||
22 | diff --git a/Makefile.am b/Makefile.am | ||
23 | index d2e310d5..5edc4488 100644 | ||
24 | --- a/Makefile.am | ||
25 | +++ b/Makefile.am | ||
26 | @@ -6,12 +6,10 @@ noinst_LTLIBRARIES = | ||
27 | if EXTERNAL_ELL | ||
28 | ell_cflags = @ELL_CFLAGS@ | ||
29 | ell_ldadd = @ELL_LIBS@ | ||
30 | -ell_dependencies = | ||
31 | ell_built_sources = | ||
32 | else | ||
33 | ell_cflags = | ||
34 | ell_ldadd = ell/libell-internal.la | ||
35 | -ell_dependencies = $(ell_ldadd) | ||
36 | ell_built_sources = ell/internal ell/ell.h | ||
37 | |||
38 | noinst_LTLIBRARIES += ell/libell-internal.la | ||
39 | @@ -729,8 +727,6 @@ src_ofonod_LDADD = gdbus/libgdbus-internal.la $(builtin_libadd) $(ell_ldadd) \ | ||
40 | src_ofonod_LDFLAGS = -Wl,--export-dynamic \ | ||
41 | -Wl,--version-script=$(srcdir)/src/ofono.ver | ||
42 | |||
43 | -src_ofonod_DEPENDENCIES = $(ell_dependencies) | ||
44 | - | ||
45 | BUILT_SOURCES = $(local_headers) $(ell_built_sources) src/builtin.h | ||
46 | |||
47 | CLEANFILES = $(BUILT_SOURCES) $(rules_DATA) | ||
48 | -- | ||
49 | 2.20.1 | ||
50 | |||
diff --git a/meta/recipes-connectivity/ofono/ofono/0001-build-Add-check-for-explicit_bzero-support.patch b/meta/recipes-connectivity/ofono/ofono/0001-build-Add-check-for-explicit_bzero-support.patch deleted file mode 100644 index 4676bb7668..0000000000 --- a/meta/recipes-connectivity/ofono/ofono/0001-build-Add-check-for-explicit_bzero-support.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From dff595671bf5a46f7c9231966a6cd7d2a0183076 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marcel Holtmann <marcel@holtmann.org> | ||
3 | Date: Wed, 15 May 2019 09:39:44 +0200 | ||
4 | Subject: build: Add check for explicit_bzero support | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
8 | --- | ||
9 | configure.ac | 2 ++ | ||
10 | 1 file changed, 2 insertions(+) | ||
11 | |||
12 | diff --git a/configure.ac b/configure.ac | ||
13 | index bacb7ac5..cad35c5d 100644 | ||
14 | --- a/configure.ac | ||
15 | +++ b/configure.ac | ||
16 | @@ -54,6 +54,8 @@ AC_ARG_ENABLE(pie, AC_HELP_STRING([--enable-pie], | ||
17 | fi | ||
18 | ]) | ||
19 | |||
20 | +AC_CHECK_FUNCS(explicit_bzero) | ||
21 | + | ||
22 | AC_CHECK_FUNC(signalfd, dummy=yes, | ||
23 | AC_MSG_ERROR(signalfd support is required)) | ||
24 | |||
25 | -- | ||
26 | 2.20.1 | ||
27 | |||
diff --git a/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch b/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch deleted file mode 100644 index 2e2aa88265..0000000000 --- a/meta/recipes-connectivity/ofono/ofono/0001-build-Fix-a-race-condition.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 3e43e3342f3fada1624a28500a5337019fed7d89 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Bunk <bunk@kernel.org> | ||
3 | Date: Thu, 9 May 2019 12:19:51 +0300 | ||
4 | Subject: build: Fix a race condition | ||
5 | |||
6 | ell/ell.h was written before ell/ existed | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
10 | --- | ||
11 | Makefile.am | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/Makefile.am b/Makefile.am | ||
15 | index a569c4a3..d2e310d5 100644 | ||
16 | --- a/Makefile.am | ||
17 | +++ b/Makefile.am | ||
18 | @@ -1107,6 +1107,7 @@ ell/internal: Makefile | ||
19 | done > $@ | ||
20 | |||
21 | ell/ell.h: Makefile | ||
22 | + $(AM_V_at)$(MKDIR_P) ell | ||
23 | $(AM_V_at)echo -n > $@ | ||
24 | $(AM_V_GEN)for f in $(ell_headers) ; do \ | ||
25 | echo "#include <$$f>" >> $@ ; \ | ||
26 | -- | ||
27 | 2.20.1 | ||
28 | |||
diff --git a/meta/recipes-connectivity/ofono/ofono/0001-main-Quiet-ld-errors-with-external-ell.patch b/meta/recipes-connectivity/ofono/ofono/0001-main-Quiet-ld-errors-with-external-ell.patch deleted file mode 100644 index f9858e7f20..0000000000 --- a/meta/recipes-connectivity/ofono/ofono/0001-main-Quiet-ld-errors-with-external-ell.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 48e31f9fc3cf3c486c3d27a67b2687f6df0c5c71 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denis Kenzior <denkenz@gmail.com> | ||
3 | Date: Thu, 16 May 2019 15:10:53 -0500 | ||
4 | Subject: main: Quiet ld errors with external ell | ||
5 | |||
6 | When oFono is built with --enable-external-ell, the compiler for some | ||
7 | reason does not generate a debug section on some systems. This is due | ||
8 | to the fact that l_debug is never called. However, ell also does not | ||
9 | call l_debug, yet when built-in ell is used, the section is created by | ||
10 | the compiler. | ||
11 | |||
12 | For now work around this by adding a no-op l_debug() call in main.c. | ||
13 | The real fix is to migrate all of the oFono logging functionality to use | ||
14 | ell instead. | ||
15 | |||
16 | Upstream-Status: Backport | ||
17 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
18 | --- | ||
19 | src/main.c | 1 + | ||
20 | 1 file changed, 1 insertion(+) | ||
21 | |||
22 | diff --git a/src/main.c b/src/main.c | ||
23 | index 8623a060..4529cde1 100644 | ||
24 | --- a/src/main.c | ||
25 | +++ b/src/main.c | ||
26 | @@ -236,6 +236,7 @@ int main(int argc, char **argv) | ||
27 | event_loop = g_main_loop_new(NULL, FALSE); | ||
28 | |||
29 | l_log_set_stderr(); | ||
30 | + l_debug(""); | ||
31 | l_debug_enable("*"); | ||
32 | l_main_init(); | ||
33 | |||
34 | -- | ||
35 | 2.20.1 | ||
36 | |||
diff --git a/meta/recipes-connectivity/ofono/ofono_1.29.bb b/meta/recipes-connectivity/ofono/ofono_1.29.bb deleted file mode 100644 index 900a6d26d9..0000000000 --- a/meta/recipes-connectivity/ofono/ofono_1.29.bb +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | require ofono.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \ | ||
5 | file://ofono \ | ||
6 | file://0001-build-Fix-a-race-condition.patch \ | ||
7 | file://0001-build-Add-check-for-explicit_bzero-support.patch \ | ||
8 | file://0001-main-Quiet-ld-errors-with-external-ell.patch \ | ||
9 | file://0001-Makefile.am-Don-t-overwrite-src_ofonod_DEPENDENCIES.patch \ | ||
10 | file://0001-mbim-add-an-optional-TEMP_FAILURE_RETRY-macro-copy.patch \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "4fa0372630ff03f223452e4d05efa8f8" | ||
13 | SRC_URI[sha256sum] = "67f0f8e5740dea5b46309e40667d1e560be39c90ef08dd01ff9e9ce8e61f0679" | ||
diff --git a/meta/recipes-connectivity/ofono/ofono_1.30.bb b/meta/recipes-connectivity/ofono/ofono_1.30.bb new file mode 100644 index 0000000000..c916cb1b22 --- /dev/null +++ b/meta/recipes-connectivity/ofono/ofono_1.30.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require ofono.inc | ||
2 | |||
3 | SRC_URI = "\ | ||
4 | ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \ | ||
5 | file://ofono \ | ||
6 | file://0001-mbim-add-an-optional-TEMP_FAILURE_RETRY-macro-copy.patch \ | ||
7 | " | ||
8 | SRC_URI[md5sum] = "2b1ce11a4db1f4b5c8cd96eb7e96ba0c" | ||
9 | SRC_URI[sha256sum] = "8079735efc5d7f33be9e792e791f2f7ff75c31ce67d477b994673e32319eec5c" | ||