Added KernelSu
This commit is contained in:
parent
dd4f8d1c0e
commit
7902dbc903
1 changed files with 4 additions and 4 deletions
|
@ -36,15 +36,15 @@ MODULES_DIR="$DLKM_RAMDISK_DIR/lib/modules"
|
|||
MKBOOTIMG="$(pwd)/kernel_build/mkbootimg/mkbootimg.py"
|
||||
MKDTBOIMG="$(pwd)/kernel_build/dtb/mkdtboimg.py"
|
||||
|
||||
OUT_KERNELZIP="$(pwd)/kernel_build/FireAsf-${FIRE_VERSION}-NoDebug-Stable_a53x.zip"
|
||||
OUT_KERNELTAR="$(pwd)/kernel_build/FireAsf-${FIRE_VERSION}-NoDebug-Stable_a53x.tar"
|
||||
OUT_KERNELZIP="$(pwd)/kernel_build/FireAsf-${FIRE_VERSION}-KSU-Stable_a53x.zip"
|
||||
OUT_KERNELTAR="$(pwd)/kernel_build/FireAsf-${FIRE_VERSION}-KSU-Stable_a53x.tar"
|
||||
OUT_KERNEL="$OUTDIR/arch/arm64/boot/Image"
|
||||
OUT_BOOTIMG="$(pwd)/kernel_build/zip/boot.img"
|
||||
OUT_VENDORBOOTIMG="$(pwd)/kernel_build/zip/vendor_boot.img"
|
||||
OUT_DTBIMAGE="$TMPDIR/dtb.img"
|
||||
|
||||
# Kernel-side
|
||||
BUILD_ARGS="LOCALVERSION=-FireAsf-${FIRE_VERSION}-NoDebug-Stable KBUILD_BUILD_USER=Ksawlii KBUILD_BUILD_HOST=FireAsFuck"
|
||||
BUILD_ARGS="LOCALVERSION=-FireAsf-${FIRE_VERSION}-KSU-Stable KBUILD_BUILD_USER=Ksawlii KBUILD_BUILD_HOST=FireAsFuck"
|
||||
|
||||
kfinish() {
|
||||
rm -rf "$TMPDIR"
|
||||
|
@ -74,7 +74,7 @@ if [ ! -d "$PARENT_DIR/build-tools" ]; then
|
|||
git clone https://android.googlesource.com/platform/prebuilts/build-tools "$PARENT_DIR/build-tools" --depth=1
|
||||
fi
|
||||
|
||||
make -j$(nproc --all) -C $(pwd) O=out $BUILD_ARGS a53x-nodebug_defconfig >/dev/null
|
||||
make -j$(nproc --all) -C $(pwd) O=out $BUILD_ARGS a53x-ksu_defconfig >/dev/null
|
||||
make -j$(nproc --all) -C $(pwd) O=out $BUILD_ARGS dtbs >/dev/null
|
||||
make -j$(nproc --all) -C $(pwd) O=out $BUILD_ARGS >/dev/null
|
||||
make -j$(nproc --all) -C $(pwd) O=out INSTALL_MOD_STRIP="--strip-debug --keep-section=.ARM.attributes" INSTALL_MOD_PATH="$MODULES_OUTDIR" modules_install >/dev/null
|
Loading…
Reference in a new issue