diff options
author | Brendan Le Foll <brendan.le.foll@intel.com> | 2014-11-10 20:48:27 +0000 |
---|---|---|
committer | Brendan Le Foll <brendan.le.foll@intel.com> | 2014-11-10 20:48:27 +0000 |
commit | b5a273965d082fce1aa39b13b12ed8217383b6b8 (patch) | |
tree | b64e7e05d37d49a68604e3a53a45d37689caa848 /docs/building.md | |
parent | 93107a388c368bfc34c5a62118b1be74241ae19a (diff) |
cmake: add cmake toolchain file for oe setup
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Diffstat (limited to 'docs/building.md')
-rw-r--r-- | docs/building.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/building.md b/docs/building.md index f8f59bf..f6812cc 100644 --- a/docs/building.md +++ b/docs/building.md @@ -38,6 +38,20 @@ Disabling python module building Building doc, this will require sphinx & doxygen -BUILDDOC=ON +Using a yocto/oe toolchain +-------------------------- + +In order to compile with a yocto/oe toolchain use the following toolchain file. +This works well on the edison 1.6 SDK. First source the environment file, then +use our cmake toolchain file. + +~~~~~~~~~~~~~{.sh} +source /opt/poky-edison/1.6/environment-setup-core2-32-poky-linux +mkdir build +cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/oe-sdk_cross.cmake .. +make +~~~~~~~~~~~~~ + Using coverity -------------- |