SDK Toolchain on WSL: Difference between revisions

From Yocto Project
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
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
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 =
= Install and setup WSL on Windows =
Line 8: Line 8:


WSL Debian GNU/Linux:
WSL Debian GNU/Linux:
  <code> $apt install xz-utils gcc python autoconf make cmake </code>
  <code> $apt install xz-utils python make</code>


WSL Ubuntu 16.04 LTS and 18.04 LTS.  
WSL Ubuntu 16.04 LTS and 18.04 LTS.  
  <code> $apt install gcc python autoconf make cmake </code>
  <code> $apt install make </code>


you might want to refer to [https://www.yoctoproject.org/docs/2.6/sdk-manual/sdk-manual.html#sdk-using-the-standard-sdk Using the Standard SDK] for SDK Setup.
you might want to refer to [https://www.yoctoproject.org/docs/2.6/sdk-manual/sdk-manual.html#sdk-using-the-standard-sdk Using the Standard SDK] for SDK Setup.

Latest revision as of 07:09, 16 January 2019

Windows user can now do development using yocto project SDK toolchain through Windows Subsystem for Linux (WSL). You may look for 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.

WSL comes with very minimal packages,so after you install and start up WSL, You need to install essential packages on your WSL. The following command installs the packages based on

WSL Debian GNU/Linux:

 $apt install xz-utils python make

WSL Ubuntu 16.04 LTS and 18.04 LTS.

 $apt install make 

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