diff mbox

[v2,2/2] e2fsprogs: disable e4defrag for nios

Message ID 1392933578-2256-2-git-send-email-frank@frajasalo.de
State Accepted
Commit 66a70b62b007526dcc656c92273bbadbeed802a2
Headers show

Commit Message

Frank Bergmann Feb. 20, 2014, 9:59 p.m. UTC
e4defrag has to be disabled because of the (external) toolchain declares
the fallocate64 call in the header files but don't implement it in the
library. e4defrag defines its own fallocate64 function that throws an
error because of the previous declaration in the toolchain header.

Signed-off-by: Frank Bergmann <frank@frajasalo.de>
---
 package/e2fsprogs/Config.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Korsgaard Feb. 27, 2014, 1:36 p.m. UTC | #1
>>>>> "Frank" == Frank Bergmann <frank@frajasalo.de> writes:

 > e4defrag has to be disabled because of the (external) toolchain declares
 > the fallocate64 call in the header files but don't implement it in the
 > library. e4defrag defines its own fallocate64 function that throws an
 > error because of the previous declaration in the toolchain header.

 > Signed-off-by: Frank Bergmann <frank@frajasalo.de>

Committed, thanks.
diff mbox

Patch

diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in
index 7775e94..1e87aef 100644
--- a/package/e2fsprogs/Config.in
+++ b/package/e2fsprogs/Config.in
@@ -49,7 +49,7 @@  config BR2_PACKAGE_E2FSPROGS_E2UNDO
 
 config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
 	bool "e4defrag"
-	depends on !BR2_avr32 # fallocate not implemented
+	depends on !BR2_avr32 && !BR2_nios2 # fallocate not implemented
 
 config BR2_PACKAGE_E2FSPROGS_FILEFRAG
 	bool "filefrag"