Commit 6acf354d authored by Anas Nashif's avatar Anas Nashif
Browse files

doc: use zephyr for SDK, not yocto



Change-Id: I51ebdaeb3408ea270a0b3d15f86ebe1f14b8f2f2
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 38c0d188
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ Install the required packages in a Fedora host system with:
     glib2-devel.i686 g++ libc6-dev-i386 g++-multilib \
     glibc-static libstdc++-static

.. _yocto_sdk:
.. _zephyr_sdk:

Installing the Zephyr Software Development Kit
==============================================
@@ -146,7 +146,7 @@ Follow these steps to install the SDK on your host system.

       $ export ZEPHYR_GCC_VARIANT=zephyr

       $ export YOCTO_SDK_INSTALL_DIR=/opt/zephyr-sdk/0.6
       $ export ZEPHYR_SDK_INSTALL_DIR=/opt/zephyr-sdk/0.6

Installing a Custom QEMU for ARM Platforms
==========================================
+11 −11
Original line number Diff line number Diff line
@@ -11,28 +11,28 @@ installation:

.. code-block:: bash

   $ export ZEPHYR_GCC_VARIANT = yocto
   $ export ZEPHYR_GCC_VARIANT=zephyr

   $ export ZEPHYR_GCC_VARIANT=xtools

The supported values for the :envvar:`ZEPHYR_GCC_VARIANT` variable are:
**yocto** and **xtools**.
**zephyr** and **xtools**.

Yocto Configuration
===================

To set up a previously installed Yocto toolchain in the build system,
you need to configure the Yocto SDK installation path and the GCC
To set up a previously installed Zephyr toolchain in the build system,
you need to configure the Zephyr SDK installation path and the GCC
variant in the shell environment:

.. code-block:: bash

   $ export YOCTO_SDK_INSTALL_DIR = <yocto-installation-path>
   $ export ZEPHYR_SDK_INSTALL_DIR=<sdk-installation-path>

   $ export ZEPHYR_GCC_VARIANT = yocto
   $ export ZEPHYR_GCC_VARIANT=zephyr

The build system configuration is done by the file
:file:`$(ZEPHYR_BASE)/scripts/Makefile.toochain.yocto`. The build
:file:`$(ZEPHYR_BASE)/scripts/Makefile.toochain.zephyr`. The build
system takes the following configuration values:

* x86 default configuration values
@@ -62,7 +62,7 @@ system takes the following configuration values:

The cross-compile target, cross-compile version, toolchain library and
library path can be adjusted in the file
:file:`$(ZEPHYR_BASE)/scripts/Makefile.toochain.yocto` following your
:file:`$(ZEPHYR_BASE)/scripts/Makefile.toochain.zephyr` following your
installation specifics.

XTools Configuration
@@ -74,7 +74,7 @@ variant in the shell environment:

.. code-block:: bash

   $ export XTOOLS_TOOLCHAIN_PATH = <yocto-installation-path>
   $ export XTOOLS_TOOLCHAIN_PATH=<sdk-installation-path>

   $ export ZEPHYR_GCC_VARIANT=xtools