gadget-test: inherit arch dependencies from libaio
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 18 Dec 2012 01:21:29 +0000 (01:21 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 18 Dec 2012 12:01:20 +0000 (13:01 +0100)
Fixes
http://autobuild.buildroot.org/results/7ad59020d4584a777d721352ae73ab2dd33326d7/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gadgetfs-test/Config.in

index a582db61a399c46c3a3b9a85a3cdbf34d2628793..36713fcd6ad7fcb6f638c1a7f9b337b44848b22c 100644 (file)
@@ -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.