Skip to content

WIP:Scripts to configure WSL2 on W10 to build Linux Kernel for android devices

Notifications You must be signed in to change notification settings

Klozz/Build-linux-kernel-over-WSL2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Build linux kernel over WSL2

Is the same way as normal xD but looks cool to say WSL? also copy the file automatic to the desktop to avoid time searching the path of the subsystem

Required packages

sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev zip -y

Building script example

./build.sh miatoll

With yuki clang or proton clang you not need to download GCC etc Building kernel

to make your life easier you can copy the zip file using bash obviously so if you want to make it dinamyc for others pc's instead of hardcode using the path set it using wslpaht:

the magical command is:

echo "$(wslpath $(cmd.exe /C "echo %USERPROFILE%"))" > a.txt
WDesktop=$(cat a.txt)

it can show u the following

but if you use > file.txt you can see only the Windows path.

About

WIP:Scripts to configure WSL2 on W10 to build Linux Kernel for android devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages