summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-11-01 17:01:17 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-11-02 14:07:32 +0100
commit97cd05ca25904c0344617adf191c76a4feac10ea (patch)
tree16beab2b220efdebff016a7c036c82316784a157 /Documentation
parentf0e62e69a58e249e11fc33f993e4cdb95eac6ea3 (diff)
downloadbarebox-97cd05ca25904c0344617adf191c76a4feac10ea.tar.gz
barebox-97cd05ca25904c0344617adf191c76a4feac10ea.tar.xz
doc: remove obsolete link method for arch specification
The cross_arch and cross_compile links method is obsolete and not available any more, so we remove it from the documentation. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/building.dox14
1 files changed, 6 insertions, 8 deletions
diff --git a/Documentation/building.dox b/Documentation/building.dox
index 895e9acdcd..527ca45d05 100644
--- a/Documentation/building.dox
+++ b/Documentation/building.dox
@@ -15,19 +15,17 @@ x86_64.
\todo Find out about issues on x86_64.
-Selecting the architecture and the corresponding cross compiler can be
-done with two methods: You can either specify it using the environment
-variables @p ARCH and @p CROSS_COMPILE or you can create the soft links
-<i>cross_arch</i> and <i>cross_compile</i>, pointing to your
-architecture and compiler.
+Selecting the architecture and the corresponding cross compiler is done
+by setting the following environment variables:
-\todo How to use the links? This doesn't work!
+- ARCH=\<architecture>
+- CROSS_COMPILE=\<compiler-prefix>
For @p ARCH=sandbox we do not need a cross compiler, so it is sufficient
to specify the architecture:
@code
-# ln -s arch/sandbox cross_arch
+# export ARCH=sandbox
@endcode
In order to configure the various aspects of @a barebox, start the
@@ -52,7 +50,7 @@ After @a barebox is configured, we can start the compilation:
You can use '-j \<n\>' in order to do a parallel build if you have more
than one cpus.
-If everything goes well, the result is a file called @p barebox:
+If everything goes well, the result is a file called @p barebox:
@code
# ls -l barebox