summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcompile.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index b205583..246a63f 100755
--- a/compile.sh
+++ b/compile.sh
@@ -64,7 +64,14 @@ then
then
rm -f $compiledir/Makefile
cd $compiledir/e2fsprogs-$VER_E2FSPROGS
- CC=$TESTDISKCC CFLAGS="$CFLAGS -g -O2 -DOMIT_COM_ERR" ./configure --host=$crosscompile_target --prefix=$prefix
+ case "$crosscompile_target" in
+ arm-marvell-linux-gnu)
+ CC=$TESTDISKCC CFLAGS="$CFLAGS -g -O2 -DOMIT_COM_ERR" ./configure --host=$crosscompile_target --prefix=$prefix --disable-tls
+ ;;
+ *)
+ CC=$TESTDISKCC CFLAGS="$CFLAGS -g -O2 -DOMIT_COM_ERR" ./configure --host=$crosscompile_target --prefix=$prefix
+ ;;
+ esac
cd $pwd_saved
fi
fi
@@ -230,6 +237,9 @@ then
i386-mingw32)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-iconv --enable-missing-uuid-ok
;;
+ arm-marvell-linux-gnu)
+ $confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --without-ntfs
+ ;;
*)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT
;;