]> code.ossystems Code Review - openembedded-core.git/commitdiff
neard: fix for parallel build
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jun 2014 15:28:41 +0000 (18:28 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jun 2014 08:22:50 +0000 (09:22 +0100)
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: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/neard/neard/Fix-snep-send-parallel-build.patch [new file with mode: 0644]
meta/recipes-connectivity/neard/neard_0.14.bb

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
new file mode 100644 (file)
index 0000000..f302992
--- /dev/null
@@ -0,0 +1,31 @@
+From fbbf600df474865172b47212d94e3dc5013cc2df Mon Sep 17 00:00:00 2001
+From: Cristian Iorga <cristian.iorga@intel.com>
+Date: Wed, 4 Jun 2014 16:40:18 +0300
+Subject: [PATCH] tools: Fix snep-send parallel build
+
+tools/snep-send object might cause a
+parallel build failure,due to undetected
+dependency on dbus.h header file.
+
+Upstream-Status: Pending
+Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
+---
+ Makefile.am | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Makefile.am b/Makefile.am
+index 26f49e7..0e4a5b5 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -169,6 +169,8 @@ tools_snep_send_SOURCES = $(gdbus_sources) src/log.c src/dbus.c \
+                                       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 \
+-- 
+1.9.1
+
index ac9aaf149886ef81222dd7faf7f7854415e306df..663d7ea768548ee03fc02f11b4532a2b35363bdb 100644 (file)
@@ -1,6 +1,7 @@
 require neard.inc
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/network/nfc/${BPN}-${PV}.tar.xz \
+           file://Fix-snep-send-parallel-build.patch \
            file://neard.in \
            file://neard.service.in \
           "