Patchwork gadget-test: inherit arch dependencies from libaio

login
register
mail settings
Submitter Maxime Ripard
Date Dec. 18, 2012, 11:21 a.m.
Message ID <1355829689-15812-1-git-send-email-maxime.ripard@free-electrons.com>
Download mbox | patch
Permalink /patch/207077/
State Accepted
Commit dc274b38ef2bfd12043d8e962864a509f82e78d9
Headers show

Comments

Maxime Ripard - Dec. 18, 2012, 11:21 a.m.
Fixes
http://autobuild.buildroot.org/results/7ad59020d4584a777d721352ae73ab2dd33326d7/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 package/gadgetfs-test/Config.in |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Peter Korsgaard - Dec. 18, 2012, 12:01 p.m.
>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:

 Maxime> Fixes
 Maxime> http://autobuild.buildroot.org/results/7ad59020d4584a777d721352ae73ab2dd33326d7/build-end.log

Committed, thanks.

Patch

diff --git a/package/gadgetfs-test/Config.in b/package/gadgetfs-test/Config.in
index a582db6..36713fc 100644
--- a/package/gadgetfs-test/Config.in
+++ b/package/gadgetfs-test/Config.in
@@ -6,8 +6,13 @@  config BR2_PACKAGE_GADGETFS_TEST
 
 config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
 	bool "use asynchronous i/o"
-	depends on BR2_PACKAGE_GADGETFS_TEST
 	select BR2_PACKAGE_LIBAIO
+	depends on BR2_PACKAGE_GADGETFS_TEST
+	# libaio is available only on few architectures
+	depends on \
+		BR2_arm   || BR2_armeb || BR2_avr32  || BR2_i386    || \
+		BR2_m68k  || BR2_mips  || BR2_mipsel || BR2_powerpc || \
+		BR2_sparc || BR2_x86_64
 	help
 	  Select this to have gadgetfs-test do asynchronous I/O using
 	  the libaio library.