diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-18 13:26:08 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-18 13:26:08 -0400 |
commit | 653c06fed765d9748e18f289ac3f1e995c6a9486 (patch) | |
tree | 3dc34b2bfd504b6d3ad0fd28939fd97c1b9c5e9f /source | |
parent | b49dfa32cc38e7a8a708261a03ed0d8ce69f7feb (diff) | |
download | librambutan-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.rst | 16 |
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 |