/linux_build_kernel_py

Little build system for Linux kernel building, written in Python

Primary LanguagePython

build_kernel

PyPi version Codacy Badge

Little build system to build Linux

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

Requires Python 3.8 or greater

Installation

pip3 install build_kernel

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)

Instructions

python3 -m build_kernel

License

#
# Copyright (C) 2022 Sebastiano Barezzi
#
# SPDX-License-Identifier: LGPL-3.0-or-later
#