Modify compile.sh to handle cross-compilation for arm-marvell-linux-gnu
used bySynology CS407
This commit is contained in:
parent
4f3a8bdd4d
commit
53ed6130c9
1 changed files with 11 additions and 1 deletions
12
compile.sh
12
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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue