Skip to content

Commit 99343a2

Browse files
marc-hblgirdwood
authored andcommitted
zephyr: simplify west init command
west init knows how to create a directory, no need to ask the user. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent d334f72 commit 99343a2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

getting_started/build-guide/build-with-zephyr.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,9 @@ Check out and build
4141

4242
.. code-block:: bash
4343
44-
mkdir $ZEPHYR_WORKSPACE
45-
cd $ZEPHYR_WORKSPACE
46-
west init
44+
west init $ZEPHYR_WORKSPACE
4745
# Significantly smaller and faster than a full "west update"
46+
cd $ZEPHYR_WORKSPACE
4847
west update hal_xtensa sof
4948
5049
#. Build and sign a firmware image:

0 commit comments

Comments
 (0)