From 918ec8e325108711d39971b8dafb692996d3c29a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 14 Dec 2018 10:23:01 +0100 Subject: 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 --- docs/dev_guide/1_Quickstart.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs/dev_guide') 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 ``` -- cgit 1.2.3-korg