|
From: <abe...@us...> - 2011-10-19 19:46:40
|
Revision: 5220
http://astlinux.svn.sourceforge.net/astlinux/?rev=5220&view=rev
Author: abelbeck
Date: 2011-10-19 19:46:33 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
scripts/build, check for the crosstool-ng toolchain and display instructions if missing
Modified Paths:
--------------
branches/1.0/scripts/build
Added Paths:
-----------
branches/1.0/crosstool-ng-src/README
Added: branches/1.0/crosstool-ng-src/README
===================================================================
--- branches/1.0/crosstool-ng-src/README (rev 0)
+++ branches/1.0/crosstool-ng-src/README 2011-10-19 19:46:33 UTC (rev 5220)
@@ -0,0 +1,24 @@
+#########################################################################
+## Crosstool-NG
+## http://crosstool-ng.org
+##
+## Building the eglibc toolchain for AstLinux 1.x using Buildroot 2011-08
+## The resulting toolchain is output to $HOME/astlinux/x-tools
+## Make sure you have a $HOME/astlinux/ directory.
+##
+# mkdir ~/source-control # used as example folder for these configs
+cd ~/source-control
+wget -O - http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.12.3.tar.bz2 | tar xj
+cd crosstool-ng-1.12.3
+./configure
+make
+sudo make install
+cd ~/source-control
+mkdir ctng
+cd ctng
+# copy the "crosstool-ng-src/ct-ng.config" file here in the SVN to "~/source-control/ctng/.config"
+ct-ng menuconfig
+# leave as configured, then
+ct-ng build
+# takes 40-60 min.
+#########################################################################
Modified: branches/1.0/scripts/build
===================================================================
--- branches/1.0/scripts/build 2011-10-19 18:54:18 UTC (rev 5219)
+++ branches/1.0/scripts/build 2011-10-19 19:46:33 UTC (rev 5220)
@@ -131,6 +131,11 @@
esac
+if [ ! -d "$HOME/astlinux/x-tools" ]; then
+ cat "crosstool-ng-src/README"
+ exit_error "Toolchain not found, see instructions above."
+fi
+
error=0
for i in $REQUIRED_CMDS; do
if ! which $i >/dev/null 2>&1; then
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|