* [Buildroot] [PATCH 1/2] protobuf: needs thread support
@ 2013-10-10 7:23 Axel Lin
2013-10-10 7:25 ` [Buildroot] [PATCH 2/2] protobuf-c: " Axel Lin
0 siblings, 1 reply; 4+ messages in thread
From: Axel Lin @ 2013-10-10 7:23 UTC (permalink / raw)
To: buildroot
Fix:
http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
package/protobuf/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/protobuf/Config.in b/package/protobuf/Config.in
index b044ef0..92e85ba 100644
--- a/package/protobuf/Config.in
+++ b/package/protobuf/Config.in
@@ -1,11 +1,12 @@
config BR2_PACKAGE_PROTOBUF
bool "protobuf"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
Protocol buffers are Google's language-neutral, platform-neutral,
extensible mechanism for serializing structured data.
http://code.google.com/p/protobuf/
-comment "protobuf requires a toolchain with C++ support enabled"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "protobuf requires a toolchain with C++ and thread support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] protobuf-c: needs thread support
2013-10-10 7:23 [Buildroot] [PATCH 1/2] protobuf: needs thread support Axel Lin
@ 2013-10-10 7:25 ` Axel Lin
2013-10-10 7:44 ` Baruch Siach
2013-10-10 20:42 ` Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2013-10-10 7:25 UTC (permalink / raw)
To: buildroot
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
package/protobuf-c/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
index 9aff6e2..17cc8f1 100644
--- a/package/protobuf-c/Config.in
+++ b/package/protobuf-c/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_PROTOBUF_C
bool "protobuf-c"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
select BR2_PACKAGE_PROTOBUF
help
Code generator and runtime libraries to use Protocol Buffers
@@ -8,5 +9,5 @@ config BR2_PACKAGE_PROTOBUF_C
http://code.google.com/p/protobuf-c/
-comment "protobuf-c requires a toolchain with C++ support enabled"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "protobuf-c requires a toolchain with C++ and thread support"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] protobuf-c: needs thread support
2013-10-10 7:25 ` [Buildroot] [PATCH 2/2] protobuf-c: " Axel Lin
@ 2013-10-10 7:44 ` Baruch Siach
2013-10-10 20:42 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Baruch Siach @ 2013-10-10 7:44 UTC (permalink / raw)
To: buildroot
Hi Axel,
On Thu, Oct 10, 2013 at 03:25:16PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> package/protobuf-c/Config.in | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/package/protobuf-c/Config.in b/package/protobuf-c/Config.in
> index 9aff6e2..17cc8f1 100644
> --- a/package/protobuf-c/Config.in
> +++ b/package/protobuf-c/Config.in
> @@ -1,6 +1,7 @@
> config BR2_PACKAGE_PROTOBUF_C
> bool "protobuf-c"
> depends on BR2_INSTALL_LIBSTDCPP
> + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
This should be squashed into the previous patch. Although strictly speaking
bisectability is not broken by the previous patch (build without threads is
broken already), it is nicer IMO.
baruch
> select BR2_PACKAGE_PROTOBUF
> help
> Code generator and runtime libraries to use Protocol Buffers
> @@ -8,5 +9,5 @@ config BR2_PACKAGE_PROTOBUF_C
>
> http://code.google.com/p/protobuf-c/
>
> -comment "protobuf-c requires a toolchain with C++ support enabled"
> - depends on !BR2_INSTALL_LIBSTDCPP
> +comment "protobuf-c requires a toolchain with C++ and thread support"
> + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] [PATCH 2/2] protobuf-c: needs thread support
2013-10-10 7:25 ` [Buildroot] [PATCH 2/2] protobuf-c: " Axel Lin
2013-10-10 7:44 ` Baruch Siach
@ 2013-10-10 20:42 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2013-10-10 20:42 UTC (permalink / raw)
To: buildroot
>>>>> "Axel" == Axel Lin <axel.lin@ingics.com> writes:
Axel> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Committed both squashed together as suggested by Baruch, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-10 20:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-10 7:23 [Buildroot] [PATCH 1/2] protobuf: needs thread support Axel Lin
2013-10-10 7:25 ` [Buildroot] [PATCH 2/2] protobuf-c: " Axel Lin
2013-10-10 7:44 ` Baruch Siach
2013-10-10 20:42 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox