util-linux: disable fallocate for avr32
authorSimon Dawson <spdawson@gmail.com>
Sun, 3 Nov 2013 09:56:25 +0000 (09:56 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 10 Nov 2013 23:41:06 +0000 (00:41 +0100)
The fallocate syscall is not implemented in the avr32 toolchain.

Fixes build failures such as the following.

  http://autobuild.buildroot.net/results/bc4/bc41a3fea20181526eb247ac910244aa2aa4c4c0/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/util-linux/Config.in

index 41e0986eee997cea90029b6fab4cc01b75030d80..d56e63103694eb889cbbbe14a0c0863753d26d73 100644 (file)
@@ -72,6 +72,7 @@ config BR2_PACKAGE_UTIL_LINUX_EJECT
 
 config BR2_PACKAGE_UTIL_LINUX_FALLOCATE
        bool "fallocate"
+       depends on !BR2_avr32 # fallocate not implemented
        help
          Preallocate space to a file