diff options
3 files changed, 41 insertions, 32 deletions
diff --git a/meta/recipes-connectivity/neard/neard/Fix-snep-send-parallel-build.patch b/meta/recipes-connectivity/neard/neard/Fix-snep-send-parallel-build.patch deleted file mode 100644 index f3029927d0..0000000000 --- a/meta/recipes-connectivity/neard/neard/Fix-snep-send-parallel-build.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From fbbf600df474865172b47212d94e3dc5013cc2df Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Iorga <cristian.iorga@intel.com> | ||
3 | Date: Wed, 4 Jun 2014 16:40:18 +0300 | ||
4 | Subject: [PATCH] tools: Fix snep-send parallel build | ||
5 | |||
6 | tools/snep-send object might cause a | ||
7 | parallel build failure,due to undetected | ||
8 | dependency on dbus.h header file. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> | ||
12 | --- | ||
13 | Makefile.am | 2 ++ | ||
14 | 1 file changed, 2 insertions(+) | ||
15 | |||
16 | diff --git a/Makefile.am b/Makefile.am | ||
17 | index 26f49e7..0e4a5b5 100644 | ||
18 | --- a/Makefile.am | ||
19 | +++ b/Makefile.am | ||
20 | @@ -169,6 +169,8 @@ tools_snep_send_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \ | ||
21 | src/agent.c | ||
22 | tools_snep_send_LDADD = ${GLIB_LIBS} ${DBUS_LIBS} | ||
23 | |||
24 | +tools/snep-send.$(OBJEXT): include/near/dbus.h | ||
25 | + | ||
26 | tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c \ | ||
27 | tools/nfctool/nfctool.h \ | ||
28 | tools/nfctool/adapter.h \ | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||
diff --git a/meta/recipes-connectivity/neard/neard/parallel-build.patch b/meta/recipes-connectivity/neard/neard/parallel-build.patch new file mode 100644 index 0000000000..1837ad010c --- /dev/null +++ b/meta/recipes-connectivity/neard/neard/parallel-build.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | Upstream-Status: Pending | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 488e898300f7a4ab9ba73307967ae9e02b7a6511 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Fri, 13 Jun 2014 17:49:45 +0100 | ||
7 | Subject: [PATCH] Makefile: add missing binaries to dependency on | ||
8 | local_headers | ||
9 | |||
10 | seeld and snap_send were missing from the rule that generates the header symlink | ||
11 | farm, resulting in headers not being available in highly parallel builds. | ||
12 | |||
13 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
14 | --- | ||
15 | Makefile.am | 9 ++++++++- | ||
16 | 1 file changed, 8 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/Makefile.am b/Makefile.am | ||
19 | index c51351f..8e58ac1 100644 | ||
20 | --- a/Makefile.am | ||
21 | +++ b/Makefile.am | ||
22 | @@ -254,7 +254,14 @@ se/plugin.$(OBJEXT): se/builtin.h | ||
23 | se/builtin.h: src/genbuiltin $(builtin_se_sources) | ||
24 | $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_se_modules) > $@ | ||
25 | |||
26 | -$(src_neard_OBJECTS) $(tools_nfctool_nfctool_OBJECTS) $(plugin_objects): $(local_headers) | ||
27 | +$(src_neard_OBJECTS) \ | ||
28 | +$(tools_nfctool_nfctool_OBJECTS) \ | ||
29 | +$(plugin_objects) \ | ||
30 | +$(se_seeld_OBJECTS) \ | ||
31 | +$(unit_test_ndef_parse_OBJECTS) \ | ||
32 | +$(unit_test_ndef_build_OBJECTS) \ | ||
33 | +$(unit_test_snep-read_OBJECTS) \ | ||
34 | +$(tools_snep_send_OBJECTS): $(local_headers) | ||
35 | |||
36 | include/near/version.h: include/version.h | ||
37 | $(AM_V_at)$(MKDIR_P) include/near | ||
38 | -- | ||
39 | 1.7.10.4 | ||
40 | |||
diff --git a/meta/recipes-connectivity/neard/neard_0.14.bb b/meta/recipes-connectivity/neard/neard_0.14.bb index 663d7ea768..daf3a4b7d1 100644 --- a/meta/recipes-connectivity/neard/neard_0.14.bb +++ b/meta/recipes-connectivity/neard/neard_0.14.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | require neard.inc | 1 | require neard.inc |
2 | 2 | ||
3 | SRC_URI = "${KERNELORG_MIRROR}/linux/network/nfc/${BPN}-${PV}.tar.xz \ | 3 | SRC_URI = "${KERNELORG_MIRROR}/linux/network/nfc/${BPN}-${PV}.tar.xz \ |
4 | file://Fix-snep-send-parallel-build.patch \ | 4 | file://parallel-build.patch \ |
5 | file://neard.in \ | 5 | file://neard.in \ |
6 | file://neard.service.in \ | 6 | file://neard.service.in \ |
7 | " | 7 | " |