[Buildroot] [PATCH] util-linux: disable fallocate for avr32

spdawson at gmail.com spdawson at gmail.com
Sun Nov 3 09:56:25 UTC 2013

From: Simon Dawson <spdawson at gmail.com>

The fallocate syscall is not implemented in the avr32 toolchain.

Fixes build failures such as the following.


Signed-off-by: Simon Dawson <spdawson at gmail.com>
 package/util-linux/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 41e0986..d56e631 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -72,6 +72,7 @@ config BR2_PACKAGE_UTIL_LINUX_EJECT
 	bool "fallocate"
+	depends on !BR2_avr32 # fallocate not implemented
 	  Preallocate space to a file

More information about the buildroot mailing list