1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

neard: fix more parallel build issues

One fix, another appears...  root-cause to a magic dependency hiding at the
bottom of the Makefile, and add all binaries to it.

[ YOCTO #6416 ]

(From OE-Core rev: 4625eb0793ff59e4414017df0371ee9b89f47b38)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2014-06-13 18:03:32 +01:00
committed by Richard Purdie
parent a08ef9a3a3
commit 5cc9702026
3 changed files with 41 additions and 32 deletions
@@ -1,31 +0,0 @@
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
@@ -0,0 +1,40 @@
Upstream-Status: Pending
Signed-off-by: Ross Burton <ross.burton@intel.com>
From 488e898300f7a4ab9ba73307967ae9e02b7a6511 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Fri, 13 Jun 2014 17:49:45 +0100
Subject: [PATCH] Makefile: add missing binaries to dependency on
local_headers
seeld and snap_send were missing from the rule that generates the header symlink
farm, resulting in headers not being available in highly parallel builds.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
Makefile.am | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index c51351f..8e58ac1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -254,7 +254,14 @@ se/plugin.$(OBJEXT): se/builtin.h
se/builtin.h: src/genbuiltin $(builtin_se_sources)
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_se_modules) > $@
-$(src_neard_OBJECTS) $(tools_nfctool_nfctool_OBJECTS) $(plugin_objects): $(local_headers)
+$(src_neard_OBJECTS) \
+$(tools_nfctool_nfctool_OBJECTS) \
+$(plugin_objects) \
+$(se_seeld_OBJECTS) \
+$(unit_test_ndef_parse_OBJECTS) \
+$(unit_test_ndef_build_OBJECTS) \
+$(unit_test_snep-read_OBJECTS) \
+$(tools_snep_send_OBJECTS): $(local_headers)
include/near/version.h: include/version.h
$(AM_V_at)$(MKDIR_P) include/near
--
1.7.10.4
@@ -1,7 +1,7 @@
require neard.inc
SRC_URI = "${KERNELORG_MIRROR}/linux/network/nfc/${BPN}-${PV}.tar.xz \
file://Fix-snep-send-parallel-build.patch \
file://parallel-build.patch \
file://neard.in \
file://neard.service.in \
"