Patchwork [1/1] neard: fix for parallel build

login
register
mail settings
Submitter Cristian Iorga
Date June 3, 2014, 1:44 p.m.
Message ID <f62ff18463dc8745512d04d1360c7a5ab7d0a931.1401803047.git.cristian.iorga@intel.com>
Download mbox | patch
Permalink /patch/73135/
State New
Headers show

Comments

Cristian Iorga - June 3, 2014, 1:44 p.m.
From: Richard Purdie <richard.purdie@linuxfoundation.org>

for neard tools/snep-send object might cause a
parallel build failure,due to undetected
dependency on dbus.h header file.

Patch will be submitted upstream.

Fixes [YOCTO #6389].

Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-connectivity/neard/neard/parallelmake.patch | 16 ++++++++++++++++
 meta/recipes-connectivity/neard/neard_0.14.bb            |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-connectivity/neard/neard/parallelmake.patch

Patch

diff --git a/meta/recipes-connectivity/neard/neard/parallelmake.patch b/meta/recipes-connectivity/neard/neard/parallelmake.patch
new file mode 100644
index 0000000..0eda4b2
--- /dev/null
+++ b/meta/recipes-connectivity/neard/neard/parallelmake.patch
@@ -0,0 +1,16 @@ 
+Index: neard-0.14/Makefile.am
+
+Upstream-Status: Pending
+
+===================================================================
+--- neard-0.14.orig/Makefile.am
++++ neard-0.14/Makefile.am
+@@ -99,6 +99,8 @@ tools_snep_send_SOURCES = $(gdbus_source
+ 					src/agent.c
+ tools_snep_send_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+ 
++tools/snep-send.$(OBJEXT): include/near/dbus.h
++
+ tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c \
+ 					tools/nfctool/nfctool.h \
+ 					tools/nfctool/adapter.h \
diff --git a/meta/recipes-connectivity/neard/neard_0.14.bb b/meta/recipes-connectivity/neard/neard_0.14.bb
index ac9aaf1..e875729 100644
--- a/meta/recipes-connectivity/neard/neard_0.14.bb
+++ b/meta/recipes-connectivity/neard/neard_0.14.bb
@@ -1,6 +1,7 @@ 
 require neard.inc
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/network/nfc/${BPN}-${PV}.tar.xz \
+           file://parallelmake.patch \
            file://neard.in \
            file://neard.service.in \
           "