aboutsummaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-18 13:26:08 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-18 13:26:08 -0400
commit653c06fed765d9748e18f289ac3f1e995c6a9486 (patch)
tree3dc34b2bfd504b6d3ad0fd28939fd97c1b9c5e9f /source
parentb49dfa32cc38e7a8a708261a03ed0d8ce69f7feb (diff)
downloadlibrambutan-653c06fed765d9748e18f289ac3f1e995c6a9486.tar.gz
librambutan-653c06fed765d9748e18f289ac3f1e995c6a9486.zip
unix-toolchain: Add note about using BOARD env. variable.
Diffstat (limited to 'source')
-rw-r--r--source/unix-toolchain.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/unix-toolchain.rst b/source/unix-toolchain.rst
index c7fc501..cb23782 100644
--- a/source/unix-toolchain.rst
+++ b/source/unix-toolchain.rst
@@ -269,6 +269,22 @@ tools correctly::
$ make clean
$ make
+.. note:: These instructions are for the Maple. If you're compiling
+ for another board, you'll need to set a ``BOARD`` environment
+ variable appropriately. For example, to compile for Maple Mini (in
+ the bash shell), ::
+
+ $ export BOARD=maple_mini
+ $ make
+
+ The ``BOARD`` for Maple RET6 edition is ``maple_RET6``. You can
+ also use ::
+
+ $ BOARD=maple_mini make
+
+ This will only set the environment variable for the duration of
+ that single compile.
+
If it all works out, you should end up seeing something like this::
find build -iname *.o | xargs arm-none-eabi-size -t