dotfiles/.local/bin/build-kernel

15 lines
571 B
Plaintext
Raw Normal View History

#!/bin/bash
make O=out ARCH=arm64 SUBARCH=arm64 oneplus6_defconfig
#PATH="/home/xstefen/android/toolchains/clang-11/bin:/home/xstefen/android/toolchains/aarch64-linux-android-4.9/bin:/home/xstefen/android/toolchains/arm-linux-androideabi-4.9/bin:${PATH}" \
export PATH="$HOME/android/toolchains/proton-clang/bin:$PATH"
make -j$(nproc --all) O=out \
ARCH=arm64 \
SUBARCH=arm64 \
CC=clang \
CROSS_COMPILE=aarch64-linux-gnu- \
CROSS_COMPILE_ARM32=arm-linux-gnueabi-