diff --git a/doc/getting_started/installation_mac.rst b/doc/getting_started/installation_mac.rst index cadb7718053..14fdb3d44cd 100644 --- a/doc/getting_started/installation_mac.rst +++ b/doc/getting_started/installation_mac.rst @@ -172,9 +172,7 @@ and use the target location where the toolchain was installed, type: $ export ZEPHYR_GCC_VARIANT=xtools - $ export ZEPHYR_SDK_INSTALL_DIR=/Volumes/CrossToolNG/x-tools - - $ export XTOOLS_TOOLCHAIN_PATH=$ZEPHYR_SDK_INSTALL_DIR + $ export XTOOLS_TOOLCHAIN_PATH=/Volumes/CrossToolNG/x-tools To use the same toolchain in new sessions in the future you can set the @@ -183,7 +181,7 @@ variables in the file :file:`${HOME}/.zephyrrc`, for example: .. code-block:: console $ cat < ~/.zephyrrc - export ZEPHYR_SDK_INSTALL_DIR=/Volumes/CrossToolNG/x-tools + export XTOOLS_TOOLCHAIN_PATH=/Volumes/CrossToolNG/x-tools export ZEPHYR_GCC_VARIANT=xtools EOF