summaryrefslogtreecommitdiffstats
path: root/src/doc/src/qtee-custom-embedded-linux.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/src/qtee-custom-embedded-linux.qdoc')
-rw-r--r--src/doc/src/qtee-custom-embedded-linux.qdoc26
1 files changed, 16 insertions, 10 deletions
diff --git a/src/doc/src/qtee-custom-embedded-linux.qdoc b/src/doc/src/qtee-custom-embedded-linux.qdoc
index 36484d2..9b8faf1 100644
--- a/src/doc/src/qtee-custom-embedded-linux.qdoc
+++ b/src/doc/src/qtee-custom-embedded-linux.qdoc
@@ -60,11 +60,18 @@
\section1 Setting Up Yocto Build Environment
- Run the setup script that initializes the Yocto environment:
+ Run the setup script that initializes the Yocto environment. Using Raspberry Pi as
+ an example:
\badcode
cd <BuildDir>
- <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-yocto-meta/b2qt-init-build-env .
+ <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-yocto-meta/b2qt-init-build-env init --device raspberrypi
+ \endcode
+
+ For more command line options, see:
+
+ \badcode
+ <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-yocto-meta/b2qt-init-build-env help
\endcode
\section1 Building the Image and Toolchain
@@ -74,9 +81,8 @@
an example:
\badcode
- export TEMPLATECONF=meta-b2qt/conf
export MACHINE=raspberrypi
- source poky/oe-init-build-env build-raspberrypi
+ source ./setup-environment.sh
\endcode
The following table lists the \c MACHINE values for our reference platforms:
@@ -128,7 +134,7 @@
script. Using Raspberry Pi as an example:
\badcode
- <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-common/init_build_env.sh <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi
+ <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-build-scripts/embedded-common/init_build_env.sh <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-build-scripts/embedded-linux/config.raspberrypi
\endcode
\note You can use the same build directory for Qt and the Yocto image.
@@ -137,12 +143,12 @@
You can use following scripts to build different parts of the \B2Q stack.
\badcode
- <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/build_qt.sh
- <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/build_extras.sh
- <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-linux/build_image.sh
+ ./build_qt.sh
+ ./build_extras.sh
+ ./build_image.sh
\endcode
- After \e {embedded-linux/build_image.sh} has finished, you can flash the device with
+ After \e {build_image.sh} has finished, you can flash the device with
the updated image located in the build folder.
\section1 Configuring Qt Creator
@@ -151,7 +157,7 @@
developing for your device. The following script does this for you.
\badcode
- <INSTALL_DIR>/Boot2Qt-3.x/sources/b2qt-build-scripts/embedded-common/setup_qtcreator.sh
+ <INSTALL_DIR>/Boot2Qt-4.x/sources/b2qt-build-scripts/embedded-common/setup_qtcreator.sh
\endcode
This will set up a new kit in Qt Creator, using the toolchain and Qt from