All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] protobuf: fix circular dependency warning
@ 2012-07-13 20:49 spdawson at gmail.com
  2012-07-13 20:59 ` Thomas Petazzoni
  0 siblings, 1 reply; 11+ messages in thread
From: spdawson at gmail.com @ 2012-07-13 20:49 UTC (permalink / raw)
  To: buildroot

From: Simon Dawson <spdawson@gmail.com>

The protobuf package depends on host-protobuf, which leads to a
circular dependency of host-protobuf on host-protobuf. The following
warning is output.

  make: Circular host-protobuf-depends <- host-protobuf dependency dropped.

This patch breaks the circular dependency, by explictly asserting the
dependencies of host-protobuf (currently none).

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/protobuf/protobuf.mk |    1 +
 1 file changed, 1 insertion(+)

diff --git a/package/protobuf/protobuf.mk b/package/protobuf/protobuf.mk
index f18261e..e0214ed 100644
--- a/package/protobuf/protobuf.mk
+++ b/package/protobuf/protobuf.mk
@@ -9,6 +9,7 @@ PROTOBUF_SITE = http://protobuf.googlecode.com/files/
 
 # N.B. Need to use host protoc during cross compilation.
 PROTOBUF_DEPENDENCIES = host-protobuf
+HOST_PROTOBUF_DEPENDENCIES =
 PROTOBUF_CONF_OPT = --with-protoc=$(HOST_DIR)/usr/bin/protoc
 
 PROTOBUF_INSTALL_STAGING = YES
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-07-15 10:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-13 20:49 [Buildroot] [PATCH] protobuf: fix circular dependency warning spdawson at gmail.com
2012-07-13 20:59 ` Thomas Petazzoni
2012-07-14  9:07   ` Simon Dawson
2012-07-14 10:16     ` Thomas Petazzoni
2012-07-14 20:31       ` [Buildroot] [PATCH v2 1/6] pkg-infra: remove self-dependency from host packages Arnout Vandecappelle
2012-07-14 20:31         ` [Buildroot] [PATCH 2/6] file: remove redundant HOST_FILE_DEPENDENCIES Arnout Vandecappelle
2012-07-14 20:31         ` [Buildroot] [PATCH 3/6] icu: remove redundant HOST_ICU_DEPENDENCIES Arnout Vandecappelle
2012-07-14 20:32         ` [Buildroot] [PATCH 4/6] libcap: remove redundant HOST_LIBCAP_DEPENDENCIES Arnout Vandecappelle
2012-07-14 20:32         ` [Buildroot] [PATCH 5/6] ncurses: remove redundant HOST_NCURSES_DEPENDENCIES Arnout Vandecappelle
2012-07-14 20:32         ` [Buildroot] [PATCH 6/6] orc: remove redundant HOST_ORC_DEPENDENCIES Arnout Vandecappelle
2012-07-15 10:39         ` [Buildroot] [PATCH v2 1/6] pkg-infra: remove self-dependency from host packages Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.