Skip to content

Instantly share code, notes, and snippets.

View ml-think-tanks's full-sized avatar

ml-think-tanks

View GitHub Profile
@P1N2O
P1N2O / README.md
Last active November 16, 2024 00:08
Guide to Compile an Android Kernel with Clang

Android Kernel Compilation Guide

This gist is intended to assist beginners, like myself, in getting started with Android Kernel Compilation. Please note that while I'm sharing my setup and process, this guide may not be entirely accurate, and I welcome suggestions from experienced developers to improve it.

Installing Build Tools

I am on Arch, so I will be using pacman to install the base-devel package group.

sudo pacman -S base-devel

On a Debian based distro, you can use apt and install the build-essential package.