From: <abe...@us...> - 2015-05-08 01:20:05
|
Revision: 7064 http://sourceforge.net/p/astlinux/code/7064 Author: abelbeck Date: 2015-05-08 01:20:02 +0000 (Fri, 08 May 2015) Log Message: ----------- crosstool-ng, tweak toolchain instructions to workaround broken svn server at eglibc.org Modified Paths: -------------- branches/1.0/crosstool-ng-src/README Added Paths: ----------- branches/1.0/crosstool-ng-src/get-files.sh Modified: branches/1.0/crosstool-ng-src/README =================================================================== --- branches/1.0/crosstool-ng-src/README 2015-05-05 23:49:13 UTC (rev 7063) +++ branches/1.0/crosstool-ng-src/README 2015-05-08 01:20:02 UTC (rev 7064) @@ -26,8 +26,8 @@ cp ~/astlinux/1.0/crosstool-ng-src/ct-ng-1.20.0-3.2.config .config # leave as configured, just look, don't make any changes ct-ng menuconfig -# then install linux kernel for the header includes -wget http://files.astlinux.org/linux-3.2.66.tar.gz +# run shell script "crosstool-ng-src/get-files.sh" located in the SVN +sh ~/astlinux/1.0/crosstool-ng-src/get-files.sh # finally, start the toolchain build process ct-ng build # takes 50-70 min. Added: branches/1.0/crosstool-ng-src/get-files.sh =================================================================== --- branches/1.0/crosstool-ng-src/get-files.sh (rev 0) +++ branches/1.0/crosstool-ng-src/get-files.sh 2015-05-08 01:20:02 UTC (rev 7064) @@ -0,0 +1,24 @@ +# shell script to add additional files + +FILES_URL="http://files.astlinux.org" + +TARBALLS=".build/tarballs" + +LINUX_KERNEL="linux-3.2.66.tar.gz" + +EGLIBC="eglibc-2_18.tar.bz2" + +if [ ! -f "$LINUX_KERNEL" ]; then + echo "Downloading $FILES_URL/$LINUX_KERNEL ..." + wget "$FILES_URL/$LINUX_KERNEL" +fi + +if [ ! -f "$TARBALLS/$EGLIBC" ]; then + echo "Downloading $FILES_URL/$EGLIBC ..." + wget "$FILES_URL/$EGLIBC" + + mkdir -p "$TARBALLS" + mv "$EGLIBC" "$TARBALLS/$EGLIBC" +fi + +exit 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |