Skip to content

Instantly share code, notes, and snippets.

View rezamqds's full-sized avatar
:octocat:

rezamqds rezamqds

:octocat:
View GitHub Profile
connect!
@rezamqds
rezamqds / How-To-Compile-Android-Kernel.md
Last active July 14, 2022 19:48 — forked from P1N2O/README.md
Guide to Compile an Android Kernel with Clang

ANDROID KERNEL COMPILATION GUIDE

This is a guide for noob's (just like me) to get going with their Android Kernel Compilation.

NOTE: I myself am a bigginer and I'm trying to share my setup and how I do it - This guide might not be accurate (what I do might be completely wrong), experienced folks can help me and others here by suggesting changes to this gist. ;)

Setup Dev Envirnoment

I use Arch Linux (beginners can try Manjaro) just because it's has rolling-release model (install once and forget) and I don't have to fiddle arround for packages.

Install the base-devel package group, which contains necessary packages for compilation such as make and gcc.