SDK Toolchain on WSL

From Yocto Project
Jump to navigationJump to search

Windows user can now do development using yocto project SDK toolchain through Windows Subsystem for Linux (WSL). You may look for [ https://docs.microsoft.com/en-us/windows/wsl/about WSL Documentation] for more information about WSL

Install and setup WSL on Windows

Refer to Windows Subsystem for Linux Installation Guide for Windows 10 for WSL installation Guide.

After you install and start up WSL, You need to install essential packages on your WSL. The following command installs the packages based on an WSL Debian GNU/Linux:

 $apt install xz-utils gcc python autoconf make cmake 

above command also work on WSL Ubuntu 16.04 LTS and 18.04 LTS.

you might want to refer to Using the Standard SDK for SDK Setup.