* [PATCH BlueZ] build: Add missing mesh & btpclient dependancies
@ 2019-06-10 17:30 Brian Gix
0 siblings, 0 replies; only message in thread
From: Brian Gix @ 2019-06-10 17:30 UTC (permalink / raw)
To: linux-bluetooth
Cc: inga.stotland, brian.gix, johan.hedberg, luiz.dentz, marcel
btpclient and bluetooth mesh fail to build on their own until
certain ELL and generated header files have been built, which
can cause a build to fail if derived objects are generated in
wrong order.
---
Makefile.mesh | 3 +++
Makefile.tools | 1 +
2 files changed, 4 insertions(+)
diff --git a/Makefile.mesh b/Makefile.mesh
index 85b88eba4..b1f14e477 100644
--- a/Makefile.mesh
+++ b/Makefile.mesh
@@ -35,6 +35,9 @@ mesh_sources = mesh/mesh.h mesh/mesh.c \
mesh/mesh-defs.h
pkglibexec_PROGRAMS += mesh/bluetooth-meshd
+mesh/mesh.$(OBJEXT): ell/internal
+mesh/main.$(OBJEXT): src/builtin.h lib/bluetooth/bluetooth.h
+
mesh_bluetooth_meshd_SOURCES = $(mesh_sources) mesh/main.c
mesh_bluetooth_meshd_LDADD = src/libshared-ell.la $(ell_ldadd) -ljson-c
mesh_bluetooth_meshd_DEPENDENCIES = $(ell_dependencies) src/libshared-ell.la \
diff --git a/Makefile.tools b/Makefile.tools
index 7d5361bcd..b6b99d216 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -472,4 +472,5 @@ tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
tools_btpclient_LDADD = lib/libbluetooth-internal.la \
src/libshared-ell.la $(ell_ldadd)
tools_btpclient_DEPENDENCIES = lib/libbluetooth-internal.la $(ell_dependencies)
+tools/btpclient.$(OBJEXT): src/libshared-ell.la ell/internal
endif
--
2.14.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-10 17:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10 17:30 [PATCH BlueZ] build: Add missing mesh & btpclient dependancies Brian Gix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).