neard: fix for parallel build

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].

(From OE-Core rev: ae55abd60ef217ad1a957102d80b06857ea8ebcd)

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>
This commit is contained in:
Richard Purdie
2014-06-05 18:28:41 +03:00
parent 77a4ac26fb
commit 7c0aa8fd80
2 changed files with 32 additions and 0 deletions

View File

@@ -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

View 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 \
"