[FE training-materials-updates] sysdev-toolchain: fix cleanup part

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Oct 5 11:16:29 CEST 2012


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=e4302807fd0136158a393e0cb6d6c5474cc2cdfd

>---------------------------------------------------------------

commit e4302807fd0136158a393e0cb6d6c5474cc2cdfd
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Fri Oct 5 11:05:22 2012 +0200

    sysdev-toolchain: fix cleanup part
    
    Removing the .build directory manually is really ugly. Use ./ct-build
    clean instead, which is done for that purpose.
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


>---------------------------------------------------------------

e4302807fd0136158a393e0cb6d6c5474cc2cdfd
 labs/sysdev-toolchain/sysdev-toolchain.tex |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 18c2bfa..1f7e715 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -133,5 +133,8 @@ correctly been compiled for the ARM architecture.
 
 \section{Cleaning up}
 
-To save almost 2 GB of storage space, remove the \code{.build/}
-subdirectory in the Crosstool-ng directory.
+To save almost 2 GB of storage space, do a \code{./ct-ng clean} in the
+Crosstool-NG source directory. This will remove the source code of the
+different toolchain components, as well as all the generated files
+that are now useless since the toolchain has been installed in
+\code{/usr/local/xtools}.



More information about the training-materials-updates mailing list