Compiling

Features of kernel


Create a out folder and export it

mkdir out && export OUT=${PATH_TO_OUT_FOLDER}

make config, it can be whyred_defconfig(default whyred's configuration with support for old camera blobs) or whyred-newcam_defconfig(default whyred's configuration with support for old camera blobs)

make O=${OUT} ${CONFIG}

export BUILD_START

BUILD_START=$(date +"%s")

make

make O=${OUT} -j${KBUILD_JOBS}

copy Image.gz-dtb to anykernel3 directory

cp ${OUT}/arch/arm64/boot/Image.gz-dtb ${ANYKERNEL_DIR}/

zip the files in anykernel3 directory

zip -r9 kernel.zip * -x README.md .git