Patchwork gadgetfs-test: requires thread support

login
register
mail settings
Submitter Thomas Petazzoni
Date Dec. 12, 2012, 6:44 p.m.
Message ID <1355337862-6519-1-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/205608/
State Accepted
Commit 5d4e00bd04183463f878d5c57b3a3dc47fbb2333
Headers show

Comments

Thomas Petazzoni - Dec. 12, 2012, 6:44 p.m.
Fixes:

  http://autobuild.buildroot.org/results/012914ed010eac94a2f7bfe18d8375cdb2fe9f06/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/gadgetfs-test/Config.in |    4 ++++
 1 file changed, 4 insertions(+)
Peter Korsgaard - Dec. 12, 2012, 8:48 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Fixes:
 Thomas>   http://autobuild.buildroot.org/results/012914ed010eac94a2f7bfe18d8375cdb2fe9f06/build-end.log

Committed, thanks.

Patch

diff --git a/package/gadgetfs-test/Config.in b/package/gadgetfs-test/Config.in
index 276ec54..a582db6 100644
--- a/package/gadgetfs-test/Config.in
+++ b/package/gadgetfs-test/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_GADGETFS_TEST
 	bool "gadgetfs-test"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Test program for gadgetfs from linux-usb.org
 
@@ -10,3 +11,6 @@  config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
 	help
 	  Select this to have gadgetfs-test do asynchronous I/O using
 	  the libaio library.
+
+comment "gadgetfs-test requires thread support in toolchain"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS