|
@@ -11,13 +11,13 @@ cd ..
|
|
|
fi
|
|
|
cd cgminer-gekko
|
|
|
autoreconf -fi
|
|
|
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko --with-system-libusb
|
|
|
-#--enable-bflsc --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus --enable-klondike --enable-modminer
|
|
|
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-gekko
|
|
|
make
|
|
|
strip cgminer.exe
|
|
|
-#upx cgminer.exe
|
|
|
+upx cgminer.exe
|
|
|
+if [ -d /tmp/cgminer-gekko/ ]; then rm -r /tmp/cgminer-gekko/ ;fi
|
|
|
mkdir /tmp/cgminer-gekko
|
|
|
-cp cgminer.exe /tmp/cgminer-gekko
|
|
|
+cp cgminer.exe /tmp/cgminer-gekko/
|
|
|
cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
|
|
|
cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko/
|
|
|
cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko/
|
|
@@ -26,15 +26,16 @@ cd /tmp/
|
|
|
version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
|
|
|
7z a -tzip cgminer-gekko-$version.zip cgminer-gekko
|
|
|
lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
|
|
|
-put cgminer-gekko-$version.zip -o /crypto/cgminer-gekko-$version.zip
|
|
|
+put cgminer-gekko-$version.zip -o /crypto/cgminer/cgminer-gekko-$version.zip
|
|
|
EOF
|
|
|
cp cgminer-gekko-$version.zip /home/$USER/Bureau
|
|
|
|
|
|
cd /home/wareck/cgminer-gekko
|
|
|
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --with-system-libusb --enable-gekko --enable-bflsc --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus --enable-klondike --enable-modminer
|
|
|
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --enable-static --disable-shared --enable-gekko --enable-bflsc --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus --enable-klondike --enable-modminer
|
|
|
make
|
|
|
strip cgminer.exe
|
|
|
-#upx cgminer.exe
|
|
|
+upx cgminer.exe
|
|
|
+if [ -d /tmp/cgminer-gekko ]; then rm /tmp/cgminer-gekko ;fi
|
|
|
rm -r -f /tmp/cgminer-gekko
|
|
|
mkdir /tmp/cgminer-gekko-all-usb
|
|
|
cp cgminer.exe /tmp/cgminer-gekko-all-usb
|
|
@@ -47,7 +48,7 @@ cd /tmp/
|
|
|
version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
|
|
|
7z a -tzip cgminer-gekko-all-usb-$version.zip cgminer-gekko-all-usb
|
|
|
lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
|
|
|
-put cgminer-gekko-all-usb-$version.zip -o /crypto/cgminer-gekko-all-usb-$version.zip
|
|
|
+put cgminer-gekko-all-usb-$version.zip -o /crypto/cgminer/cgminer-gekko-all-usb-$version.zip
|
|
|
EOF
|
|
|
cp cgminer-gekko-all-usb-$version.zip /home/$USER/Bureau
|
|
|
cd /tmp
|