All of lore.kernel.org
 help / color / mirror / Atom feed
From: spdawson at gmail.com <spdawson@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] protobuf: fix circular dependency warning
Date: Fri, 13 Jul 2012 21:49:12 +0100	[thread overview]
Message-ID: <1342212552-6567-1-git-send-email-spdawson@gmail.com> (raw)

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

             reply	other threads:[~2012-07-13 20:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-13 20:49 spdawson at gmail.com [this message]
2012-07-13 20:59 ` [Buildroot] [PATCH] protobuf: fix circular dependency warning 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1342212552-6567-1-git-send-email-spdawson@gmail.com \
    --to=spdawson@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.