build_kernel
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 indevice/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
#