Moojx / android_kernel_manifest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Repo Init

repo init -u https://github.com/StatiXOS/android_kernel_manifest.git -b android-msm-xiaomi-4.19-android11

Sync Source

repo sync --force-sync --no-clone-bundle --current-branch --no-tags -j$(nproc --all)

Build

Rename DEVICE_NAME with the appropriate device codename

For Clang builds

BUILD_CONFIG=build.config.xiaomi.${DEVICE_NAME} BUILD_KERNEL=1 build/build.sh

For GCC builds

BUILD_CONFIG=build.config.xiaomi.${DEVICE_NAME} COMPILER=gcc BUILD_KERNEL=1 build/build.sh

Example:

For alioth with GCC

BUILD_CONFIG=build.config.xiaomi.alioth COMPILER=gcc BUILD_KERNEL=1 build/build.sh

Submitting Patches

Please refer to this for submitting patches: https://github.com/StatiXOS/android_manifest#submitting-patches

About