Skip to content

RAYDENFLY/android-kernel-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android kernel building script

Little build system to build Android kernel sources

  • Clones AOSP Clang automatically
  • Managed with config files
  • Automatic AnyKernel3 packing

Note: Requires Python 3.9

Installation

  • Clone the repo
  • Open a terminal with pwd as the cloned repo
  • pip3 install .

Sources preparation

  • Add a config for your kernel in device/vendor/codename.py (check the example config in device/examples/example.py)
  • Add kernel sources in kernel/ (in the path that you specified in the config)

How to use

$ python3 -m build_kernel -h
usage: python3 -m kernel_build [-h] [-c] [-v] device

positional arguments:
  device         device codename

optional arguments:
  -h, --help     show this help message and exit
  -c, --clean    clean before building
  -v, --verbose  verbose logging

About

Little build system for Android kernel building, written in Python

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%