summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-12-14 10:23:01 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-14 10:23:01 +0100
commit918ec8e325108711d39971b8dafb692996d3c29a (patch)
treef59d2b4cee6bc3188177d26b705f4cbc329ed70c /docs
parentc631646116197507f59008bc4a4560c74756b342 (diff)
Point to SDK sysroot files first instead of native
Point to SDK sysroot files first instead of native installation directories. Bug-AGL: SPEC-1958 Change-Id: I54f4e3dac9951289b245911f82767dbe4c2dd30f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs')
-rw-r--r--docs/dev_guide/1_Quickstart.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/dev_guide/1_Quickstart.md b/docs/dev_guide/1_Quickstart.md
index 30af4f2..6a6be1d 100644
--- a/docs/dev_guide/1_Quickstart.md
+++ b/docs/dev_guide/1_Quickstart.md
@@ -7,6 +7,11 @@ using **cmake module** then use `config.cmake` file to configure your project sp
```bash
mkdir -p conf.d/cmake
+# From the SDK sysroot >= 6.99.2 b992
+cp ${OECORE_NATIVE_SYSROOT}/usr/share/doc/CMakeAfbTemplates/samples.d/config.cmake.sample conf.d/cmake/config.cmake
+# From the SDK sysroot < 6.99.2 b992
+cp ${OECORE_NATIVE_SYSROOT}/usr/share/cmake-3.8/Modules/CMakeAfbTemplates/samples.d/config.cmake.sample conf.d/cmake/config.cmake
+# From a native installation
cp /usr/share/doc/CMakeAfbTemplates/samples.d/config.cmake.sample conf.d/cmake/config.cmake
```
@@ -17,6 +22,11 @@ Now, create your top CMakeLists.txt file which include `config.cmake` file.
An example is available in the **cmake module** that you can copy and use:
```bash
+# From the SDK sysroot >= 6.99.2 b992
+cp ${OECORE_NATIVE_SYSROOT}/usr/share/doc/CMakeAfbTemplates/samples.d/CMakeLists.txt.sample CMakeLists.txt
+# From the SDK sysroot < 6.99.2 b992
+cp ${OECORE_NATIVE_SYSROOT}/usr/share/cmake-3.8/Modules/CMakeAfbTemplates/samples.d/CMakeLists.txt.sample CMakeLists.txt
+# From a native installation
cp /usr/share/doc/CMakeAfbTemplates/samples.d/CMakeLists.txt.sample CMakeLists.txt
```