Private
Public Access
2
0

cmake: add cmake toolchain file for oe setup

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-11-10 20:48:27 +00:00
parent 93107a388c
commit b5a273965d
2 changed files with 32 additions and 0 deletions

View File

@@ -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
--------------