[Buildroot] [PATCH] protobuf: fix circular dependency warning
spdawson at gmail.com
spdawson at gmail.com
Fri Jul 13 20:49:12 UTC 2012
From: Simon Dawson <spdawson at 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 at 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
More information about the buildroot
mailing list