mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-20 09:55:06 -04:00
vlmcsd-svn906-2016-06-05-Hotbird64
This commit is contained in:
parent
1c86f7a6bf
commit
c479a67c2c
55 changed files with 5728 additions and 21773 deletions
263
make_linux
263
make_linux
|
@ -20,7 +20,7 @@ mkdir -p binaries/Linux/intel/uclibc
|
|||
mkdir -p binaries/Linux/intel/static
|
||||
mkdir -p binaries/Linux/intel/musl
|
||||
|
||||
mkdir -p binaries/Linux/sparc32/glibc
|
||||
mkdir -p binaries/Linux/sparc/glibc
|
||||
mkdir -p binaries/Linux/s390/glibc
|
||||
|
||||
mkdir -p binaries/Android/arm/bionic
|
||||
|
@ -62,10 +62,13 @@ mkdir -p binaries/DragonFly/intel
|
|||
mkdir -p binaries/Solaris/intel
|
||||
mkdir -p binaries/Windows/intel
|
||||
mkdir -p binaries/Minix/intel
|
||||
mkdir -p binaries/Hurd/intel
|
||||
|
||||
rm -f *_all.c vlmcsd.o vlmcs.o vlmcsdmulti.o 2> /dev/null
|
||||
export STAGING_DIR=.
|
||||
|
||||
|
||||
|
||||
# Windows 32-bit using MingW32-w64 toolchain on Ubuntu Linux
|
||||
export CLIENT_NAME=binaries/Windows/intel/vlmcs-Windows-x86.exe
|
||||
export PROGRAM_NAME=binaries/Windows/intel/vlmcsd-Windows-x86.exe
|
||||
|
@ -75,10 +78,10 @@ export THREADS=1
|
|||
export CFLAGS="$SMALLCC"
|
||||
export CC=i686-w64-mingw32-gcc
|
||||
export PLATFORMFLAGS="-march=i686 -mtune=generic -fwhole-program -pipe"
|
||||
export LDFLAGS="-lws2_32 -Wl,--gc-sections,--force-exe-suffix,--large-address-aware,--nxcompat,--dynamicbase,--tsaware"
|
||||
export LDFLAGS="-lws2_32 -Wl,--gc-sections,--force-exe-suffix,--large-address-aware,--nxcompat,--dynamicbase,--tsaware,--no-seh,--disable-long-section-names"
|
||||
export FEATURES=full
|
||||
|
||||
make $MAKEFLAGS CAT=2 all $MULTI_NAME
|
||||
make $MAKEFLAGS CRYPTO=windows CAT=2 all $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
|
@ -88,7 +91,7 @@ fi
|
|||
export CFLAGS="$CFLAGS -flto=jobserver -fvisibility=hidden"
|
||||
export LDFLAGS="$LDFLAGS -static-libgcc"
|
||||
|
||||
make $MAKEFLAGS FEATURES=minimum $DLL_NAME
|
||||
make $MAKEFLAGS CRYPTO=windows FEATURES=minimum $DLL_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $DLL_NAME
|
||||
|
@ -105,17 +108,28 @@ export THREADS=1
|
|||
export CFLAGS="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fmerge-all-constants -Wno-unused-variable -Wno-missing-braces"
|
||||
export CC=i686-w64-mingw32-gcc
|
||||
export PLATFORMFLAGS="-march=i686 -mtune=generic -pipe"
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--large-address-aware,--nxcompat,--dynamicbase,--tsaware -fwhole-program"
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--large-address-aware,--nxcompat,--dynamicbase,--tsaware,--disable-long-section-names -fwhole-program"
|
||||
export FEATURES=full
|
||||
|
||||
make $MAKEFLAGS CAT=2 MSRPC=1 all
|
||||
make $MAKEFLAGS CAT=2 MSRPC=1 CRYPTO=windows $CLIENT_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
echo Error creating $CLIENT_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
make $MAKEFLAGS MSRPC=1 $MULTI_NAME
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--large-address-aware,--nxcompat,--dynamicbase,--tsaware,--disable-long-section-names,--no-seh -fwhole-program"
|
||||
|
||||
make $MAKEFLAGS CAT=2 MSRPC=1 CRYPTO=windows $PROGRAM_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--large-address-aware,--nxcompat,--dynamicbase,--tsaware,--disable-long-section-names -fwhole-program"
|
||||
|
||||
make $MAKEFLAGS MSRPC=1 CRYPTO=windows $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME
|
||||
|
@ -133,9 +147,9 @@ export THREADS=1
|
|||
export CFLAGS="$SMALLCC"
|
||||
export CC=x86_64-w64-mingw32-gcc
|
||||
export PLATFORMFLAGS="-march=nocona -mtune=generic -fwhole-program -pipe"
|
||||
export LDFLAGS="-lws2_32 -Wl,--gc-sections,--force-exe-suffix,--nxcompat,--dynamicbase,--tsaware"
|
||||
export LDFLAGS="-lws2_32 -Wl,--gc-sections,--force-exe-suffix,--nxcompat,--dynamicbase,--tsaware,--no-seh,--high-entropy-va,--disable-long-section-names"
|
||||
|
||||
make $MAKEFLAGS CAT=2 all $MULTI_NAME
|
||||
make $MAKEFLAGS CAT=2 CRYPTO=windows all $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
|
@ -145,7 +159,7 @@ fi
|
|||
export CFLAGS="$CFLAGS -flto=jobserver -fvisibility=hidden"
|
||||
export LDFLAGS="$LDFLAGS -static-libgcc"
|
||||
|
||||
make $MAKEFLAGS FEATURES=minimum $DLL_NAME
|
||||
make $MAKEFLAGS CRYPTO=windows FEATURES=minimum $DLL_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $DLL_NAME
|
||||
|
@ -163,22 +177,85 @@ export THREADS=1
|
|||
export CFLAGS="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fmerge-all-constants -Wno-unused-variable -Wno-missing-braces"
|
||||
export CC=x86_64-w64-mingw32-gcc
|
||||
export PLATFORMFLAGS="-march=nocona -mtune=generic -pipe"
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--nxcompat,--dynamicbase,--tsaware -fwhole-program"
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--nxcompat,--dynamicbase,--tsaware,--high-entropy-va,--disable-long-section-names -fwhole-program"
|
||||
|
||||
make $MAKEFLAGS CAT=2 MSRPC=1 all
|
||||
make $MAKEFLAGS CAT=2 CRYPTO=windows MSRPC=1 $CLIENT_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--nxcompat,--dynamicbase,--tsaware,--no-seh,--high-entropy-va,--disable-long-section-names -fwhole-program"
|
||||
|
||||
make $MAKEFLAGS CAT=2 CRYPTO=windows MSRPC=1 $PROGRAM_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export LDFLAGS="-Wl,--gc-sections,--force-exe-suffix,--nxcompat,--dynamicbase,--tsaware,--high-entropy-va,--disable-long-section-names -fwhole-program"
|
||||
export PLATFORMFLAGS="-march=nocona -mtune=generic -pipe -flto=jobserver"
|
||||
|
||||
make $MAKEFLAGS MSRPC=1 CRYPTO=windows $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# mips1el uclibc with old tomato toolchain gcc 3.2.3 with Broadcom extensions uClibc 0.9.19
|
||||
export CLIENT_NAME=binaries/Linux/mips/little-endian/uclibc/vlmcs-mips1el-tomato-uclibc
|
||||
export PROGRAM_NAME=binaries/Linux/mips/little-endian/uclibc/vlmcsd-mips1el-tomato-uclibc
|
||||
export MULTI_NAME=binaries/Linux/mips/little-endian/uclibc/vlmcsdmulti-mips1el-tomato-uclibc
|
||||
export CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
|
||||
export CFLAGS="-DNO_BUILTIN -DNO_LIMIT -pipe -fno-common -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
export PLATFORMFLAGS=""
|
||||
export LDFLAGS="-fwhole-program -Wl,-z,norelro"
|
||||
export THREADS=0
|
||||
#export TERMINAL_WIDTH=80
|
||||
|
||||
make $MAKEFLAGS NO_DNS=1 SAFE_MODE=1
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
make $MAKEFLAGS MSRPC=1 $MULTI_NAME
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o
|
||||
|
||||
make NO_DNS=1 SAFE_MODE=1 $REUSEOBJFLAGS $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export CLIENT_NAME=binaries/Linux/mips/little-endian/static/vlmcs-mips1el-tomato-uclibc-static
|
||||
export PROGRAM_NAME=binaries/Linux/mips/little-endian/static/vlmcsd-mips1el-tomato-uclibc-static
|
||||
export MULTI_NAME=binaries/Linux/mips/little-endian/static/vlmcsdmulti-mips1el-tomato-uclibc-static
|
||||
export LDFLAGS="$LDFLAGS -static"
|
||||
|
||||
make NO_DNS=1 SAFE_MODE=1 $REUSEOBJFLAGS $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o
|
||||
|
||||
make NO_DNS=1 SAFE_MODE=1 $REUSEOBJFLAGS
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -539,40 +616,6 @@ fi
|
|||
|
||||
|
||||
|
||||
|
||||
# mips1el uclibc with old tomato toolchain gcc 3.2.3 with Broadcom extensions uClibc 0.9.19
|
||||
export CLIENT_NAME=binaries/Linux/mips/little-endian/uclibc/vlmcs-mips1el-tomato-uclibc
|
||||
export PROGRAM_NAME=binaries/Linux/mips/little-endian/uclibc/vlmcsd-mips1el-tomato-uclibc
|
||||
export MULTI_NAME=binaries/Linux/mips/little-endian/uclibc/vlmcsdmulti-mips1el-tomato-uclibc
|
||||
export CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
|
||||
export CFLAGS="-DNO_BUILTIN -pipe -fno-common -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
export PLATFORMFLAGS=""
|
||||
export LDFLAGS="-pipe -Wl,-z,norelro"
|
||||
export THREADS=0
|
||||
#export TERMINAL_WIDTH=80
|
||||
|
||||
make NO_DNS=1 CAT=2 $MAKEFLAGS $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
export CLIENT_NAME=binaries/Linux/mips/little-endian/static/vlmcs-mips1el-tomato-uclibc-static
|
||||
export PROGRAM_NAME=binaries/Linux/mips/little-endian/static/vlmcsd-mips1el-tomato-uclibc-static
|
||||
export MULTI_NAME=binaries/Linux/mips/little-endian/static/vlmcsdmulti-mips1el-tomato-uclibc-static
|
||||
export LDFLAGS="$LDFLAGS -static"
|
||||
|
||||
make NO_DNS=1 $REUSEOBJFLAGS $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME CAT=2
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
#Android gcc 4.8 with API Level 3 (Android 1.5 cupcake) armv7
|
||||
|
||||
export CLIENT_NAME=binaries/Android/arm/bionic/vlmcs-android15-armv7
|
||||
|
@ -1616,7 +1659,7 @@ export PROGRAM_NAME=binaries/Linux/intel/glibc/vlmcsd-x32-glibc
|
|||
export CC=gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
export LDFLAGS="-fuse-ld=gold $SMALLLD -Wl,--hash-style=gnu"
|
||||
export THREADS=0
|
||||
export NOPROCFS=0
|
||||
export AUXV=1
|
||||
|
@ -1646,7 +1689,7 @@ export PROGRAM_NAME=binaries/Linux/intel/glibc/vlmcsd-x32-glibc-threads
|
|||
export CC=gcc
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu -lpthread"
|
||||
export LDFLAGS="-fuse-ld=gold $SMALLLD -Wl,--hash-style=gnu -lpthread"
|
||||
export THREADS=1
|
||||
export NOPROCFS=0
|
||||
export AUXV=1
|
||||
|
@ -2121,10 +2164,19 @@ export LDFLAGS="-Wl,-z,norelro -fwhole-program"
|
|||
export THREADS=0
|
||||
export NOPROCFS=1
|
||||
|
||||
make $MAKEFLAGS $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME CAT=2
|
||||
make $MAKEFLAGS SAFE_MODE=1
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
|
||||
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1 $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
@ -2133,10 +2185,19 @@ export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
|||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export LDFLAGS="-Wl,-z,norelro -fwhole-program -static"
|
||||
|
||||
make $REUSEOBJFLAGS $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME CAT=2
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1 $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
|
||||
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
@ -2226,10 +2287,19 @@ export THREADS=0
|
|||
export CRYPTO=internal
|
||||
export NOPROCFS=1
|
||||
|
||||
make $MAKEFLAGS CAT=2 $CLIENT_NAME $MULTI_NAME $PROGRAM_NAME
|
||||
make $MAKEFLAGS SAFE_MODE=1
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm vlmcsd.o vlmcs.o vlmcsdmulti.o
|
||||
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1 $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
@ -2238,10 +2308,19 @@ export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
|||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export LDFLAGS="-Wl,-z,norelro -fwhole-program -static"
|
||||
|
||||
make $REUSEOBJFLAGS CAT=2 $CLIENT_NAME $MULTI_NAME $PROGRAM_NAME
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1 $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
echo Error creating $MULTI_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
rm vlmcsd.o vlmcs.o vlmcsdmulti.o
|
||||
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
@ -2315,32 +2394,6 @@ fi
|
|||
|
||||
|
||||
|
||||
# Linux PowerPC glibc with SSL support and Dreambox 500 toolchain
|
||||
INSTALLDIR=binaries/Linux/ppc/big-endian/glibc/
|
||||
SUFFIX=-ppc-glibc-openssl0.9.8-soft-EXPERIMENTAL
|
||||
export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/powerpc/bin/powerpc-linux-gcc
|
||||
export PLATFORMFLAGS="-pipe"
|
||||
export FEATURES=full
|
||||
export CFLAGS="-fno-common -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
export LDFLAGS="-Wl,--no-gc-sections -Wl,-z,norelro"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
make NO_DNS=1 $MAKEFLAGS CAT=2 $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#Linux PowerPC uclibc OpenWRT toolchain
|
||||
INSTALLDIR=binaries/Linux/ppc/big-endian/
|
||||
SUFFIX=-ppc-uclibc
|
||||
|
@ -2531,6 +2584,30 @@ fi
|
|||
|
||||
|
||||
|
||||
#Fritzbox 7370 (mips32r2 big-endian) device specific with simple sockets and some features disabled, May or may not run on other devices
|
||||
INSTALLDIR=binaries/Linux/mips/big-endian/uclibc/
|
||||
SUFFIX=-mips16-Fritzbox-33xx-73xx-74xx-63xx-64xx-uclibc-simple
|
||||
export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
export MULTI_NAME=${INSTALLDIR}vlmcsdmulti${SUFFIX}
|
||||
export CC=/opt/simplebuild/toolchains/fritz73xxOS62/bin/mips-linux-cc
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -march=24kc -mtune=24kc -mips16 -mdsp"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC -DNO_USER_SWITCH -DSIMPLE_SOCKETS -DNO_PID_FILE -DNO_USER_SWITCH -DNO_USER_SWITCH"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
make NOLRESOLV=1 $MAKEFLAGS $PROGRAM_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $PROGRAM_NAME
|
||||
exit $?
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
#Fritzbox 7370 (mips32r2 big-endian) device specific inetd start only, May or may not run on other devices
|
||||
INSTALLDIR=binaries/Linux/mips/big-endian/uclibc/
|
||||
SUFFIX=-mips16-Fritzbox-33xx-73xx-74xx-63xx-64xx-uclibc-inetd
|
||||
|
@ -3132,7 +3209,7 @@ fi
|
|||
|
||||
|
||||
#Linux Sparc32v7 glibc
|
||||
INSTALLDIR=binaries/Linux/sparc32/glibc/
|
||||
INSTALLDIR=binaries/Linux/sparc/glibc/
|
||||
SUFFIX=-sparc32v7-glibc
|
||||
export PROGRAM_NAME=${INSTALLDIR}vlmcsd${SUFFIX}
|
||||
export CLIENT_NAME=${INSTALLDIR}vlmcs${SUFFIX}
|
||||
|
@ -3141,7 +3218,7 @@ export CC=/opt/toolchains/sparc32-glibc-gcc-4.7.4/bin/sparc-buildroot-linux-gnu-
|
|||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -mcpu=v7"
|
||||
export FEATURES=full
|
||||
export CFLAGS="$SMALLCC"
|
||||
export LDFLAGS="$SMALLLD -lpthread"
|
||||
export LDFLAGS="$SMALLLD"
|
||||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
|
@ -3330,7 +3407,7 @@ export LDFLAGS="-fwhole-program"
|
|||
export THREADS=0
|
||||
export CRYPTO=internal
|
||||
|
||||
make $MAKEFLAGS CAT=2 $PROGRAM_NAME $MULTI_NAME $CLIENT_NAME
|
||||
make $MAKEFLAGS CAT=2 SAFE_MODE=1 $PROGRAM_NAME $MULTI_NAME $CLIENT_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $PROGRAM_NAME, $MULTI_NAME and/or $CLIENT_NAME
|
||||
|
@ -3342,7 +3419,7 @@ export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
|||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export LDFLAGS="-fwhole-program -static"
|
||||
|
||||
make $REUSEOBJFLAGS CAT=2 $PROGRAM_NAME $MULTI_NAME $CLIENT_NAME
|
||||
make $REUSEOBJFLAGS CAT=2 SAFE_MODE=1 $PROGRAM_NAME $MULTI_NAME $CLIENT_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $PROGRAM_NAME, $MULTI_NAME and/or $CLIENT_NAME
|
||||
|
@ -3456,7 +3533,7 @@ export CFLAGS="$SMALLCC"
|
|||
export LDFLAGS="-Wl,-z,norelo"
|
||||
export THREADS=0
|
||||
|
||||
make $MAKEFLAGS CAT=2 $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
make $MAKEFLAGS SAFE_MODE=1 CAT=2 $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
|
@ -3468,7 +3545,7 @@ export CLIENT_NAME=${INSTALLDIR}static/vlmcs${SUFFIX}-static
|
|||
export MULTI_NAME=${INSTALLDIR}static/vlmcsdmulti${SUFFIX}-static
|
||||
export LDFLAGS="-Wl,-z,norelo -static"
|
||||
|
||||
make $REUSEOBJFLAGS CAT=2 $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
make $REUSEOBJFLAGS SAFE_MODE=1 CAT=2 $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
echo Error creating $CLIENT_NAME, $MULTI_NAME and/or $PROGRAM_NAME
|
||||
|
@ -3478,9 +3555,9 @@ fi
|
|||
|
||||
# Strip off unnecessary stuff from binaries
|
||||
|
||||
find binaries -xdev -name 'vlmcs*' -exec /opt/toolchains/mips32el-mips16-glibc-2.18/usr/bin/mipsel-linux-strip -s --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag {} \; 2>/dev/null
|
||||
find binaries -xdev -name 'vlmcs*' -exec strip -s --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag {} \; 2>/dev/null
|
||||
find binaries -xdev -name 'vlmcs*' -exec sstrip -z {} \; 2>/dev/null
|
||||
#find binaries -xdev -name 'vlmcs*' -exec /opt/toolchains/mips32el-mips16-glibc-2.18/usr/bin/mipsel-linux-strip -s --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag {} \; 2>/dev/null
|
||||
#find binaries -xdev -name 'vlmcs*' -exec strip -s --strip-unneeded --remove-section=.note.gnu.gold-version --remove-section=.comment --remove-section=.note --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag {} \; 2>/dev/null
|
||||
find binaries -xdev -name 'vlmcs*' ! -name '*-NetBSD-*' ! -name '*-Windows-*' ! -name '*-cygwin-*' ! -name '*-MacOSX-*' ! -name '*-iOS-*' -exec sstrip -z {} \;
|
||||
|
||||
make alldocs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue