From patchwork Fri Jul 13 20:49:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 170960 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 3A9D22C0306 for ; Sat, 14 Jul 2012 06:50:39 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2170410160F; Fri, 13 Jul 2012 20:50:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gNgE2-NMWPsC; Fri, 13 Jul 2012 20:50:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3450B1014A9; Fri, 13 Jul 2012 20:50:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1E8838F753 for ; Fri, 13 Jul 2012 20:50:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CEB488FA89 for ; Fri, 13 Jul 2012 20:50:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AM+6GwNPc+Aa for ; Fri, 13 Jul 2012 20:50:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5F2E18F99C for ; Fri, 13 Jul 2012 20:50:22 +0000 (UTC) Received: by wgbfm10 with SMTP id fm10so518495wgb.10 for ; Fri, 13 Jul 2012 13:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=QrsKWYu0jY1jJlN0OqmB97nTASYPHrsmUoe0X39hOYo=; b=kV9JcUEhpCkAKs2cBrx1+VBVOfbg56yvVd4CRBDGtaRzYepvYEBnH7+H7A5EK3K3l/ Vg0zsOv4KIKvOejk1u3F+dnhAWvx98fLvGAiWQFz6xpedMUn5SlEjspSPxLrbVx1mPch muXD4t10ASl85z9xZd/zlJgwm1qLCyA959EY6DGLhmvPdzRrNvbudMx8cP0jWp/uDhta NmCoCIwOuqfIcl70qgh+fP5g+kzmAf5b37GOMI/Es3rhL2Q1JbEpKOP5ndO+56VJMq1Y ipIIEXW3ZfR+zL3H8VS7rSm6aXZFGJx68AUVOCfK/yYB5tsFyPn6vX2Rl3TFI1I/sulY +QHg== Received: by 10.216.212.217 with SMTP id y67mr1358311weo.173.1342212620243; Fri, 13 Jul 2012 13:50:20 -0700 (PDT) Received: from localhost.localdomain (host-2-100-182-54.as13285.net. [2.100.182.54]) by mx.google.com with ESMTPS id t7sm7941649wix.6.2012.07.13.13.50.18 (version=SSLv3 cipher=OTHER); Fri, 13 Jul 2012 13:50:18 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Fri, 13 Jul 2012 21:49:12 +0100 Message-Id: <1342212552-6567-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.9.5 Subject: [Buildroot] [PATCH] protobuf: fix circular dependency warning X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson 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 --- 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